How can I make so my ability only works with my sword not all items in the game?

Started by szppll on Thu, 02/23/2023 - 03:34

Topic category: Troubleshooting, bugs, and solutions

Last seen on 13:46, 28. Feb 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make so my ability only works with my sword not all items in the game?
Thu, 02/23/2023 - 03:34

So I made a ''ability'' for my sword and the ability is binded to the right mouse button, and when i try to press the right mouse button with any other item it makes the ability do the thing. How can i bind the ability to ONLY work with my sword? :)