danni.coy Posted March 4, 2011 Share Posted March 4, 2011 what is the best way to detect this? Link to comment
frustum Posted March 4, 2011 Share 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. Link to comment
Recommended Posts