Stand Up on Click


#1

Hi, I was wondering if there was any way I can start with my character sitting down, but then have them stand up and move around once clicked.

Thanks.


#2

Hi @AaronT1419!

To make your character perform different interactions when clicked, such as standing up on first click and then walking on second click, you can add multiple when clicked - blocks after another. Here’s how it’s done:

1. First we create a character and an item he should move towards to, then add both to CoBlocks

2. Now we code the interaction!

You can play the example here.

See how another interaction is played on our second click? Whenever you use a new when clicked - block, the old interaction is replaced. This way, you can chain different interactions into each other :slight_smile:

Hope this helped! Let me know if anything is left unclear.