Invoking the event handler twice is giving warning and project does not execute

How to code for the event handler second time, as it gives warning and does not execute

Which event handler ?

Please show some relevant blocks and explain what you are trying to achieve

Please read this before creating a new topic :


writing code for space invader, any of the event handlers when used twice give x mark with warning and does not exectue also. But if I use only one event handler (Rocketsprite.touched) then no problem, but to complete the code, I have to use it twice. And using it twice, it gives warning with cross on top left of the block and does not work.

You can only use that event once, as you have found.

You will need to build an if/else condition into the block in order to handle both requirements.

Gotit. Thanks a lot.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.