InputEvent3D()
Syntax
InputEvent3D(MouseX, MouseY, LeftMouseButton, Text$)Description
Injects events in the 3D GUI system. To be verstatile enough, the events aren't automatically gets from the main mouse and keyboard, but injected on demand. 'MouseX' and 'MouseY' specify the actual 3D GUI mouse position, in pixels. 'LeftMouseButton' is the left mouse button state (either 0 if unpressed or 1 if pressed). 'Text$' sets the text entered in the GUI system, for example to feed a StringGadget3D() when it has the focus.
Once these events are entered, all the 3D GUI state changes are handled automatically.
Example:; Here is the classic case to get the events from the mouse and keyboard ; InputEvent3D(MouseX(), MouseY(), MouseButton(#PB_MouseButton_Left), KeyboardInkey())
Supported OS
All