frustum Posted March 4, 2011 Posted March 4, 2011 Widgets are automatically generates clicked callbacks on mouse release. If you want some game logic which depends on mouse release event you should handle it manually. There two ways to achieve that: * Every frame check the status of engine.gui.getMouseButton() or engine.app.getMouseButton() function. * Use engine.controls.setButtonReleaseCallback() controls event.
Recommended Posts