I have a seemingly simple problem but I can't find how to fix it. I have a UI image which has a pointer down event on. When clicked it sets a bool to true which then makes my player jump. Even though I click once on the image button the function is triggered multiple times. I also have a pointer up event which sets the bool to false. Any advice appreciated, I can post my code if required. Thanks!