Water event

This page goes over the onWater event.

This event will be called upon the game checking if you're in water. Handler name is onWater.

setWater(water): Undefined

Sets the event water state.

isWater(): Boolean

Returns whether the water state is set to true.

Last updated