OnEvent (GUI item event)

Frequently called on each frame. If you want to check or do everything all the time continuously and you can’t use other events, this is the event block to use.

Example(s)

onEvent {
    ...
}