Simple enough!
1. create a condition in the scene conditions tab & give it a relevant name to whatever the condition should be for.
2a. go to the action area you just created & create an if query condition action part & set the condition to what you created in step 1.
2b. set condition to true or false (depending on the initial state you defined when creating the condition).
3. now add your actions.
4. now add a set condition action part or toggle condition part to change the condition to the opposite of whatever it's currently set as. This will prevent this action area from being triggered again, unless the condition in the if query is met.
5. finally add an
end if action part to close off the if query.
That should be about it. Hope it helps & good luck with the competition.