- Home /
Pointer Up Event not sent when Pointer Down was on different button
Hi all, I have a world space GUI in which pressing down on Button A enables Button B. The intended usage is that the player will press and hold Button A, keep the mouse button down and then release on Button B (which will trigger a function).
However, the I'm only receiving the Pointer Up from Button B if I click and then release on it (i.e. it only seems to work if I click and release on the same button).
Is there a work around so when I click on one button, but release on another I receive the event?
Thanks for any help
Answer by AntLewis · Oct 18, 2016 at 02:22 PM
If anyone is interested in this functionality, you need to use the Drop event, if you start the click on one object but release on another (and you want to catch the release)
Thanks for adding the answer after finding it!