Comment on page
Sequence with Wait on Tap
Learn to build a sequence of events
Follow the steps below to create a sequence of actions and events:
- Add two objects from the in-built 3D library on the Design Canvas For eg: Cone and Arrow
- Apply any colour to the objects from the 'Basic Properties' on the right-panel of the Design Canvas. For eg: Arrow: GREEN and Cone: AMBER
- Click on the'Toggle' icon from the top menu bar and the to access the 'Actions and Events' tab
- Click 'On Tap' event node from the right panel of the flow designer. Define the object as 'Arrow' from the drop-down menu.
- Click 'Set colour' Action node from the right panel of the flow designer. Define the object as 'Cone' from the drop-down menu.
- Connect the 'On Tap' output socket with the 'Set' input socket of the 'Set Colour' Action node.
- Click the colour box to access the various colour options from the pallet. Choose a desired colour for the Cone. For eg: RED
- Click the 'Wait' action node from the right panel of the flow designer. Define the time as 3 seconds. You can type or use the toggle icon to increase or decrease time.
- Connect the 'On set' output socket of the 'Set Colour' action node with the 'Begin' input socket of the 'Wait' Action Node.
- Select the 'On Tap' Event node, right-click on screen and select 'Clone Selection'. This will automatically clone the same node. Update the colour as BLUE
- Connect the 'Done' output socket from the Wait Action node with the 'Set' input socket from the 'Set Colour' Action node.
Result: On Scene start>On Tap the cone will appear AMBER then change to BLUE after 3 seconds.
Sequence with Wait on Tap