Script Event used for onUpdate and similar callbacks. This is not cancellable.
new()
elapsed:Float
Time since last frame.
@:value(false)cancelled:Bool = false
Whether or not the current event is canceled.
cancel():Void
Cancels current function (if cancellable).