# Tiled API scripting: extras

**URL:** <https://discourse.mapeditor.org/t/tiled-api-scripting-extras/6863>\
**Category:** Questions\
**Created:** [July 18, 2024, 12:02am UTC](https://discourse.mapeditor.org/t/tiled-api-scripting-extras/6863 "2024-07-18T00:02:36Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [July 21, 2024, 11:27pm UTC](https://discourse.mapeditor.org/t/tiled-api-scripting-extras/6863/21 "2024-07-21T23:27:32Z")

</div>

Depends on what you mean by “access”: You can’t use the ones for the existing tools (though I think you can trigger them for the existing tools if you need that), but you _can_ write your own. You do this by [registering actions](https://www.mapeditor.org/docs/scripting/modules/tiled.html#registerAction), and then [listing those as the toolbar actions](https://www.mapeditor.org/docs/scripting/interfaces/Tool.html#toolBarActions) for your tool.

You can even use the existing icons by setting the icon to `":path-to-icon"` (note the leading `:`), e.g. `":images/32/flip-horizontal.png"`. You can browse the images that come with Tiled, and which you can reuse, [here](https://github.com/mapeditor/tiled/tree/master/src/tiled/resources/images).

---

<div class="post-metadata">

**Author:** ![Bongo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bongo/32/4246_2.png) [@Bongo](https://discourse.mapeditor.org/u/Bongo)\
**Post date:** [July 22, 2024, 2:56am UTC](https://discourse.mapeditor.org/t/tiled-api-scripting-extras/6863/22 "2024-07-22T02:56:49Z")

</div>

Thanks. I figured that was the case when I looked through the documentation. I guess it wouldn’t hurt to ask. Doubt I need it that much anyway.

[Previous page](https://discourse.mapeditor.org/t/tiled-api-scripting-extras/6863.md?page=1)
