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
setWater(water): Undefined
Argument
Type
Description
water
Boolean
Whether to apply water logic or not.
Sets the event water state.
isWater(): Boolean
isWater(): Boolean
Returns whether the water state is set to true.
Last updated