Sequence of events execution

Hi,
please see the attached picture. Why is the boolean printed “false”?

Adding sequence in second event (execute first event, next pin print string) will do the same.

Please somebody explain, why this is the case. How to wait for the end of first event’s execution?

You’re not telling it to wait for the event to be complete before printing. This is one of the differences between events and functions, if it was a function it would need to go to the return node before the execution chain would continue. Unfortunately you cannot add delay to functions so if you want to do this by events, it would be like this:

Of course the second event is completely pointless in this case.