This is called by Viewport.follow.
target to follow
ReadonlyoptionsThe options used to initialize this plugin.
ReadonlyparentThe viewport to which this plugin is attached.
Flags whether this plugin has been "paused".
The target this plugin will make the viewport follow.
ProtectedvelocityThe velocity provided the viewport by following, at the current time.
Called when plugin is removed
ProtectedgetTarget's position in world coordinates (handles targets nested inside other containers)
ProtectedglobalProtectedparentPause the plugin
Called when the viewport is manually moved
Called when the viewport is resized
Un-pause the plugin
Called on each tick
Protectedviewport
Plugin to follow a display-object.
See
Viewport.follow