PointWorld
Points the player at something in the 3D world: a beam from their character, a floating icon above the target, and optionally an outline around a whole model.
Step.new(3, {
PointWorld.to(questGiverRoot),
})
Unlike FocusUI, this action never ends the step on its own. Pair it with a Custom action watching for arrival, or with a dialog the player dismisses once they get there.
Functions
to
constructorTypes
interface PointWorldOptions {Beam: boolean?--
Set false to skip the beam
Icon: boolean?--
Set false to skip the floating icon
}Guides the player toward a part.
The default
A beam from the player's HumanoidRootPart to the target, plus a floating icon above it:
PointWorld.to(fountainPart)
The icon only appears if you configured one in the tutorial's Pointer config; there is no
built-in image.
Highlighting a whole building
Outline takes any instance, so pass the model rather than the one part the beam aims at:
PointWorld.to(shopModel.PrimaryPart, { Outline = shopModel })
Turning pieces off
-- Outline only, no beam and no icon.
PointWorld.to(chest.PrimaryPart, { Outline = chest, Beam = false, Icon = false })
CAUTION
The beam needs a character. If the player is dead or still loading when the step opens, the beam is skipped rather than erroring, and it does not retry.