How to Disable Sprites on Canvas also Enabling Vibration

Hello guys,

How do you disable a sprite on canvas?
When one of the ** sprites is clicked**.
How do you enable vibration when a sprite is clicked?
I have used the vibrate block when is sprite clicked do
vibrate, it is not working. @domhnallohanlon
Thanks.

Hello,

How do you disable a sprite on canvas?

I didn’t understand what it meant.

1 Like

Hi,
When you have a sprite on the canvas and when you click on it, it disables to logic false. the sprite stops working. , For example, a button disables to logic false whenever you click on it, the same concept with the sprites I am looking for.

Thanks.

Hi,

Add the conditional If statement and the state variable to the processing unit for clicking on the sprite. If this variable is false then logic blocks are executed, if true after the first click, then the logic is not executed.