Types/CursorBoxType: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (word)
(Updated styling of prototype doc migration note)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/types/CursorBoxType.html https://lua-api.factorio.com/latest/types/CursorBoxType.html]
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
A [[types/string|string]].
A [[types/string|string]].
Possible values are:
Possible values are:
Line 6: Line 12:
|-
|-
| entity  || The normal entity selection box. Yellow by default.
| entity  || The normal entity selection box. Yellow by default.
|-
| not-allowed || The selection box used when specifying colliding entities. Red by default.
|-
|-
| electricity || The selection box used to specify electric poles an entity is connected to. Light blue by default.
| electricity || The selection box used to specify electric poles an entity is connected to. Light blue by default.
|-
| pair || Light blue by default.
|-
|-
| copy || The selection box used when doing entity copy-paste. Green by default.
| copy || The selection box used when doing entity copy-paste. Green by default.
|-
|-
| not-allowed || The selection box used when specifying colliding entities. Red by default.
| train-visualization || White by default.
|-
| pair || Light Blue by default.
|-
| logistics || Light Blue by default.
|-
|-
| train-visualization || White by default.
| logistics || Light blue by default.
|-
|-
| blueprint-snap-rectangle ||  
| blueprint-snap-rectangle || Green by default.
|}
|}

Latest revision as of 10:42, 21 September 2023

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/CursorBoxType.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.


A string. Possible values are:

String Description
entity The normal entity selection box. Yellow by default.
not-allowed The selection box used when specifying colliding entities. Red by default.
electricity The selection box used to specify electric poles an entity is connected to. Light blue by default.
pair Light blue by default.
copy The selection box used when doing entity copy-paste. Green by default.
train-visualization White by default.
logistics Light blue by default.
blueprint-snap-rectangle Green by default.