Skip to content
Untitled Sandbox - Developer Documentation
docs/types/QueryFilter

QueryFilter

The settings you pass to world.raycast and the other world searches to choose which instances and players they can find.

Fields

ignore
A list of instances and players to skip, along with everything under them.
include
Only finds these instances and players and everything under them, so players not listed here are never found.
tag
string?
Only finds instances with this tag, and skips players unless players is true.
collision_group
string?
Only finds parts that collide with this Collision Group, and skips players unless players is true.
hit_triggers
boolean?
Whether to also find parts that cannot collide.
players
boolean?
Whether it finds players, which it does by default, though tag and collision_group skip players unless this is true.
↑ ↓ moveEnter openEsc close