Scripting: Added MapEditor.selectedTool and MapEditor.tool by bjorn · Pull Request #4330 · mapeditor/tiled (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Merged
merged 2 commits into
Mar 2, 2026
Conversation
Enables scripts to know which tool is selected, to select a different tool and potentially to modify or interact with the available tools.
It would be nice if there was consistency regarding "id" vs "shortName" for the tool identifier string xP
Enables scripts to know which tool is selected, to select a different tool and potentially to modify or interact with the available tools.
bjorn deleted the scripting-selected-tool branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})