API reference

resetFollowable Function

This resets the offset of the Followable component of the entity to the current offset from its target.

Signature

fun resetFollowable(followable: Entity, isActive: Boolean = true)

Parameters

followable: Entity The entity whose Followable component needs to be reset.
isActive: Boolean