---
title: Get and set tiles
brief: This example shows how to get and set tiles of a tilemap
scripts: get_set_tile.script
---

This example uses a tilemap and a script file to read mouse input to place tiles or read information about the tile the mouse is hovering.

---

Tilemap graphics made by [Kenney](https://www.kenney.nl).
