So, I’m trying to make a map editor plugin for my Godot game, but I can’t figure out how to use the _process() function inside of my plugin, since _process seems to be disabled for scenes in plugins. My goal is to make a cursor that updates based on the mouse cursor, highlighting a tile that is currently selected. Is there some kind of equivalent function I should use?
All the scripts you want to run in editor must have the @tool tag, including your scene nodes or plugin nodes. You probably also want to add following snippet to avoid running code in editor for tool nodes: