Disable Tool:Activate when tapping the screen on mobile

Hey guys!

I’m trying to do a weapon system and my tool activates whenever I tap the screen which I don’t want to happen. I have a button dedicated to activate the tool, however, I also have at least 3 other buttons nearby dedicated to something else and it is irritating when you miss the button and the tool activates.

How do you turn tap-to-activate-the-tool off?

there are Player and Character

  • when the player have the tool enabled; the tool is on the chracter
  • when the player dont have the tool enabled; the tool its on the backpack

then you can put when tapping the tool moves to player’s backpack

This might solve your problem:

If set to false the activated event will not fire.


You can also use this property to make it so the tool can only activate when :Activate is called.

3 Likes

Thanks a lot, that’s just what I needed. The only con is that it also disables activating the tool on mouse clicks for PCs but that’s easy to fix.