waitUntilInArea

open fun waitUntilInArea(area: Area, timeout: Int): Boolean

Waits until my player is in the specified area, or the timeout limit is reached

Return

true if the player reached the area, false if the timeout was reached

Parameters

area

the area that the player will be in

timeout

the timeout in milliseconds