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, Nonefor 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,Nonefor 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, Nonefor visuals applied for all rooms, or “map” for map visuals.