Just testing out the new GUI element hit test. Ran into an issue I'm not sure if it's my state machines or a bug.
Explanation:
If you touch the GuiTexture it will turn the cube green. I'm printing the X position of my touch
Results:
Right now when I load up the app I can touch on screen and the cube stays red.
When I touch the GuiTexture the cube turns green
However from then on, every time I touch the cube turns green
So somewhere in my FSM it's triggering a hit after each touch. Also I noticed that after clicking on the GuiTexture my variable "myX" stays the same value.