Expand description
Utility functions for visuals that the game API exposes on the console
object.
Functions§
- add_
visual - Add a visual, in json format, or multiple visuals separated by
\n
. Each line must be: - clear_
visual - Clear all of the set visuals for the current tick, either for a given
room,
None
for visuals applied for all rooms, or “map” for map visuals. - get_
visual - Get the visuals applied to a given target so far in the current tick
separated by
\n
, with the taget being visuals applied to a given room,None
for visuals applied for all rooms, or “map” for map visuals. - get_
visual_ size - Get the size of the visuals applied for the current tick, either for a
given room,
None
for visuals applied for all rooms, or “map” for map visuals.