Outlines the aimed object, independently of the ray.
Lets a caller read the target without painting the world. The outline uses entRenderHighlightEvent, the same event focus mode and scanning already use.
Parameters
enabledbooleanoptionaldefault true
Returns
true
reason, when the first is nil
Registered in ResourceHost.cpp as LuaInspectorOutline (line 6642).
Reads a snapshot, never a probe. The ray has to be cast on the game thread, and the plugin refreshes it at 10 Hz, so calling this costs nothing and cannot land a raycast on the wrong thread.
Always returns a table when a game is present. valid separates "nothing in view" from "no game" — the latter returns nil, reason.