disabling left mouse button.

Hello, my player shoots with left mouse click, I want the left mouse button to stop working after the player dies, how can I disable it???
I appreciate any help. :pray: :pray:


you could add a variable called “isdead” when the player dies, set it true. and in the left mouse button event, add a new branch checking that the variable “isdeath” is false. and, if it is true, don’t do anything.

2 Likes

thank you so much :pray: :pray: :pray: :pray:

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