so i am going to keep it short, i wanted to create a similar tool as shown in this Tutorial {https://www.youtube.com/watch?v=0-DcPwR4CI0&t=214s} , but i have entire project built in unreal 5.6 and the parent class editorscriptableSingleClickTool does not seem to exist anymore, can anyone help me figure out how to do this in 5.6? i don’t really have any experience with blueprints, thanks a lot.
Hello @ShadowBean21,
I’ve been testing how to get this working and, since it’s a plugin that keeps changing, I found a way to make it run. I’m not sure if it’s the “correct” method, but it works as a temporary solution
( In the documentation, they mention that you need to enable the Geometry Script plugin.)
To set it up, you need to use Editor ScriptableModularBehaviorTool.
Once created, go to the Event Graph, select the Event On Script Setup, and add the Add Single Click Behavior node (the same one used before).
From the If I Hit by Click pin, create an event dispatcher and then a matching function; this opens a new function where you implement the code shown in the tutorial, but at the end you add a Make Input Ray Hit Miss to the return node.
With that, you should be able to use the Scriptable Tools System.
In the Class Defaults, make sure to give your tool a name in Tool Name
and as an extra step you can bind the tool to a keyboard shortcut.
From what I’ve read, binding icons doesn’t work in this new version.
I’m also leaving some documentation and a video that explain how to set it up so you can better understand how it works.
Documentation:
Hope it helps.