Show a "catching up" indicator
Updated
A help panel follows the camera with a Follow Target; a script shows a green dot on it only while isFollowing says it is gliding to a new place.
Drag to orbit the camera beyond the panel’s tolerance: the green dot shows while the panel catches up. Scroll to zoom.
Show a "catching up" indicator
#pragma lifecycle(startup, update)
let follow;let dot;
function startup() { follow = findEntity('Help Panel').getComponent(FollowTargetComponent); dot = findEntity('Moving Dot');}
function update() { const moving = follow.isFollowing && !follow.isPaused; if (dot.visible !== moving) dot.visible = moving;}How it works
Section titled “How it works”The script is explained step by step in Show a “catching up” indicator.
Open it in XR Creator
Section titled “Open it in XR Creator”Download the project file below, then import it in XR Hub with Projects › New › Import, as described in Projects and templates. It opens in XR Creator with the same scene you see running above, each script already attached to its Behavior entity. From there you can edit the scripts, adjust components and their props, preview your changes, and deploy the result as a world of your own.
FollowIndicator.xrproj