pick
Raycasts screen points into the scene to report the hit instance, nearest Model ancestor, world position, normal, distance, and part CFrame/size/orientation for object identification or path tracing.
Instructions
Raycast from a screen point into the scene and report what's under it: the hit instance (+ nearest Model ancestor), world position, surface normal, distance, and the part's CFrame/size/orientation. Give x,y in pixels OR nx,ny in 0..1 OR nothing for the viewport center. Powers "what is that?" and tracing (sample points along a screen path). Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | screen X in pixels | |
| y | No | screen Y in pixels | |
| nx | No | normalized X 0..1 (used if x/y omitted) | |
| ny | No | normalized Y 0..1 | |
| only | No | whitelist: only hit these instances/descendants | |
| place | No | Target place (PlaceId or project name). Defaults to the bound/sole connected place. | |
| range | No | ray length in studs (default 5000) | |
| ignore | No | instance paths to ignore (and their descendants) |