Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# TilePosition - Prototype Docs

## TilePosition :: struct or {int32, int32}

Coordinates of a tile on a map where each integer `x`/`y` represents a different tile. This uses the same format as MapPosition, except it rounds any non-integer `x`/`y` down to whole numbers. It can be specified either with or without explicit keys.

## Properties

- default
- sorted

x | :: int32 |
y | :: int32 |

x | :: int32 |
y | :: int32 |

## Properties

### x :: int32

### y :: int32

Type used in

- EntityPrototype::diagonal_tile_grid_size
- SpacePlatformTileDefinition::position