Hey guys,
Sure this is a super easy one, but having trouble figuring it out. Basically I want to have the player select an object by left clicking it, and then deselect it by left clicking it again. When they click it, among other things it turns a flag on, and when they click it again it should turn the flag off.
But nothing happens when I run the app, as if it's doing both events for the one click (turning it on and then off in quick succession). When I tested changing one of them to a double-click, it all ran correctly. However, I'd much rather the user just click once in both cases. Is there any way I can fix this?