Start by opening the presentation you want to edit in the hiCreo.ai editor.
2. Select a Target Item
Choose the item (e.g., image, video, audio player) you want to apply the show and hide function to. Click on the item, then click the “Code” bubble menu to open the Code box.
3. Add the Functions
Option 1: Hide an Item When the Page Starts and Show It After a Certain Time
In the Code box, drag and drop the “When Page start” block from the “Events” section into the assembly area.
Drag and drop the “hide (self)” block from the “Looks” section below the “When Page start” block. The blocks should snap together.
Drag and drop the “wait (1) seconds” block from the “Control” section below the “hide (self)” block. Adjust the wait time as needed. The blocks should snap together.
Drag and drop the “Show (self)” block from the “Looks” section below the “wait (1) seconds” block. The blocks should snap together.
Option 2: Hide and Show an Item Using a Trigger (Button or Item)
In the Code box, drag and drop the “When Page start” block from the “Events” section into the assembly area.
Drag and drop the “hide (self)” block from the “Looks” section below the “When Page start” block. The blocks should snap together.
On the slide, select or create a trigger item, then click the “Code” bubble menu to open the Code box.
Drag and drop the “When this item (clicked)” block from the “Events” section into the assembly area.
Drag and drop the “show (self)” block from the “Looks” section below the “When this item (clicked)” block. The blocks should snap together.
Click on “self” and select the target item from the dropdown list.
4. Preview the Changes
To ensure everything works as intended, click on “Preview” and select “Current page” to test the changes.
*To learn more about visual block-based programming and access advanced tutorials, please visit Scratch or search for “Scratch programming tutorials” on YouTube.