rado9408 Posted December 5, 2018 Share Posted December 5, 2018 Hi guys, how can I make less sensitive mouse pointer on pointerup, or pointerdown ? For example when I move the mouse up to draggable elements It calles the same event few times but I want it to be one time, the same situation is on pointerdown I want to call this event only one time! Link to comment Share on other sites More sharing options...
rich Posted December 5, 2018 Share Posted December 5, 2018 It will only emit `pointerup` and `pointerdown` once per press, so make sure you haven't bound your event handler more than once, as it will get called for each binding. Link to comment Share on other sites More sharing options...
rado9408 Posted December 5, 2018 Author Share Posted December 5, 2018 @rich but what about pointerover ? Can I limit the number ov invoked events to 1 in a particular area Link to comment Share on other sites More sharing options...
rich Posted December 5, 2018 Share Posted December 5, 2018 It will emit pointerover whenever it goes over an input enabled Game Object. If you only want to listen for it over one Game Object, listen to the event from that Game Object instead of the global one. Link to comment Share on other sites More sharing options...
rado9408 Posted December 5, 2018 Author Share Posted December 5, 2018 @rich thanks for the help Link to comment Share on other sites More sharing options...
Recommended Posts