Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem

types.FollowOptions

How an entity follows its target.

Fields

followOptions.face: boolean?
#

turns to face the way it moves; default true

followOptions.offset: vector?
#

added to the target's position, in world axes; default none

followOptions.snap: number?
#

farther than this, it jumps straight to the spot; default 16

Range: snap: 0..256

followOptions.speed: number?
#

blocks a second; default 4

Range: speed: 0..100

followOptions.stop: number?
#

closer than this, it stays put; default 0.25

Range: stop: 0..256