Prop Events
From Limelight
Below is a list of Prop events that maybe overridden. By default a Prop will do nothing for each event. Each event method takes an Event object as a parameter. The Event object contains information about the event.
- mouse_clicked - Invoked when the uses clicks on a Prop. More specifically, it's invoked when a mouse button is pressed and released all the while the location of the mouse is in the bounds of the Prop.
- mouse_entered - Invoked when the mouse enters the bounds of a Prop.
- mouse_exited - Invoked when the mouse, previously inside the Prop, move outside the bounds of the Prop.
- mouse_pressed - Invoked when a mouse button is pressed down while the mouse's location is within the bounds of the Prop.
- mouse_released - Invoked when a mouse button is released down while the mouse's location is within the bounds of the Prop.
- mouse_dragged - Invoked when the mouse's location changes within the bounds of the Prop while a mouse button is depressed.
- mouse_moved - Invoked when the mouse's location changes within the bounds of the Prop.
- key_typed - Invoked when a key is typed. only applicable to built-in input players
- key_pressed - Invoked when a key is pressed. only applicable to built-in input players
- key_released - Invoked when a key is released. only applicable to built-in input players
- focus_gained - Invoked when the keyboard focus is given to the Prop. only applicable to built-in input players
- focus_lost - Invoked when the keyboard focus is taken from the Prop. only applicable to built-in input players
- button_pressed - Invoked when a Prop's button is pressed. only applicable to the following built-in players: button, check_box, radio_button
- value_changed - Invoked when the value of a combo_box Prop is changed. only applicable to the combo-box built-in player

