Prototype/HighlightBoxEntity

From Official Factorio Wiki
Revision as of 11:04, 27 April 2021 by Bilka (talk | contribs) (words)
Jump to navigation Jump to search

Template:Prototype parent Used to attach graphics for cursor boxes to entities during runtime. HighlightBoxEntity can also be independent from entities so it is simply drawn somewhere in the world. See LuaSurface.create_entity for the available options for type "highlight-box".

The collision_box of the highlight box prototype is ignored during runtime, instead the "bounding_box" given in create_entity() or the selection box of the target entity is used.

Template:Prototype TOC