Clarify MapPosition (concepts)
Posted: Tue Sep 15, 2026 4:45 pm
https://lua-api.factorio.com/2.1.17/con ... ition.html
Needs clarification that game engine side does not GIVE array variant, but accept it.
I.e. When using script.on_event provides:
//experimental 2.1.17
Needs clarification that game engine side does not GIVE array variant
Code: Select all
{double, double}I.e. When using
Code: Select all
type = "custom-input"Code: Select all
event.cursor_position[1] is nil
event.cursor_position.x is valid.