Skip to content
Version 2.32.0
↓ Get the launcher

IEntityPicker interface

Finds the character drawn under a screen point: players (including the local player) and, since 2.15.0, NPCs. Main thread only.

public interface IEntityPicker
name description
TryPickEntity(…) The character nearest to (screenX, screenY) within a small on-screen radius, or false when none is there.