Okay, so there are 9 GUI objects that control the ships movement.
When someone takes their finger off the object, it sends a message telling the ship to turn that direction back to 0.
However, the four corner panels send a message “Stop Both” to the ship, this way it doesn’t continue to move diagonally when another panel is pressed.
So this the behaviors for the 3rd panel (Up/Right)
The other corner panels have pretty much the same thing except it tells the ship to go in 2 different directions. {“behavior”:{“nodes”:[{“x”:630,“y”:256,“name”:“Message”,“targetClassId”:2496852,“inputCount”:1,“targetEntityId”:0,“sendToLastContacted”:false,“behaviorType”:“logic.components.Message”,“outputCount”:0,“sendToEntity”:false,“msg”:“Up”,“group”:"",“id”:“1ad503e32566aa42”},{“behaviorType”:“logic.logic.Switch”,“outputCount”:1,“id”:“1ad879b368a53142”,“y”:160,"_startVal":0,“x”:450,“name”:“Switch”,“group”:"",“inputCount”:3},{“x”:630,“y”:352,“name”:“Message”,“targetClassId”:2496852,“inputCount”:1,“targetEntityId”:0,“sendToLastContacted”:false,“behaviorType”:“logic.components.Message”,“outputCount”:0,“sendToEntity”:false,“msg”:“Right”,“group”:"",“id”:“1ad503e4ae53c54a”},{“behaviorType”:“logic.triggers.Always”,“outputCount”:1,“id”:“1ad503e0fa71cf4e”,“y”:160,“x”:180,“name”:“Always”,“group”:"",“inputCount”:0},{“x”:360,“y”:384,“name”:“Message”,“targetClassId”:2496852,“inputCount”:1,“targetEntityId”:0,“sendToLastContacted”:false,“behaviorType”:“logic.components.Message”,“outputCount”:0,“sendToEntity”:false,“msg”:“Stop Both”,“group”:"",“id”:“1ad503e2393e064d”},{“behaviorType”:“logic.triggers.MouseClick”,“outputCount”:4,“id”:“1ad503e1e442f345”,“y”:256,“x”:180,“name”:“MouseClick”,“group”:"",“global”:false,“inputCount”:0}],“links”:[{“input_id”:“1ad503e32566aa42i0”,“output_id”:“1ad879b368a53142o0”},{“input_id”:“1ad879b368a53142i0”,“output_id”:“1ad503e1e442f345o1”},{“input_id”:“1ad879b368a53142i0”,“output_id”:“1ad503e1e442f345o3”},{“input_id”:“1ad879b368a53142i1”,“output_id”:“1ad503e1e442f345o0”},{“input_id”:“1ad879b368a53142i1”,“output_id”:“1ad503e1e442f345o2”},{“input_id”:“1ad879b368a53142i2”,“output_id”:“1ad503e0fa71cf4eo0”},{“input_id”:“1ad503e4ae53c54ai0”,“output_id”:“1ad879b368a53142o0”},{“input_id”:“1ad503e4ae53c54ai0”,“output_id”:“1ad879b368a53142o0”},{“input_id”:“1ad879b368a53142i2”,“output_id”:“1ad503e0fa71cf4eo0”},{“input_id”:“1ad503e2393e064di0”,“output_id”:“1ad503e1e442f345o3”},{“input_id”:“1ad503e2393e064di0”,“output_id”:“1ad503e1e442f345o3”},{“input_id”:“1ad503e2393e064di0”,“output_id”:“1ad503e1e442f345o1”},{“input_id”:“1ad503e2393e064di0”,“output_id”:“1ad503e1e442f345o1”},{“input_id”:“1ad879b368a53142i1”,“output_id”:“1ad503e1e442f345o0”},{“input_id”:“1ad879b368a53142i0”,“output_id”:“1ad503e1e442f345o1”},{“input_id”:“1ad503e2393e064di0”,“output_id”:“1ad503e1e442f345o1”},{“input_id”:“1ad503e2393e064di0”,“output_id”:“1ad503e1e442f345o1”},{“input_id”:“1ad879b368a53142i1”,“output_id”:“1ad503e1e442f345o2”},{“input_id”:“1ad879b368a53142i0”,“output_id”:“1ad503e1e442f345o3”},{“input_id”:“1ad503e2393e064di0”,“output_id”:“1ad503e1e442f345o3”},{“input_id”:“1ad503e2393e064di0”,“output_id”:“1ad503e1e442f345o3”}],“v”:“2”}}