Prototype/HighlightBoxEntity: Difference between revisions
Jump to navigation
Jump to search
(Converted to SMW format) |
(Description extension for purpose and collision box) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Entity}} | {{Prototype parent|Prototype/Entity}} | ||
Used to attach graphics to entities during runtime. | Used to attach graphics for [[Types/CursorBoxType|cursor boxes]] to entities during runtime. See [https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.create_entity LuaSurface.create_entity] for the available options for type "highlight-box". | ||
The <code>[[Prototype/Entity#collision_box|collision_box]]</code> 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. | |||
{{Prototype TOC|highlight-box|no-properties=true}} | {{Prototype TOC|highlight-box|no-properties=true}} |
Revision as of 10:57, 27 April 2021
Template:Prototype parent Used to attach graphics for cursor boxes to entities during runtime. 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.