‹ All natives
Namespace: ENTITY
API set: server
Language: Luau Improve
entity:setPriority
Also: player:setPriority
entity:setPriority(meters: number)
Gives the entity a head start when choosing who is visible.
For example a teacher speaking in front of a full room.
Parameters#
- meters (
number): metres taken off its distance, for everyone, from 0 to 1000
Example#
teacher:setPriority(40)
See also#