Notifications
Clear all

[Closed] Why is my hotkey not working?

I am trying to bind this command to a hotkey… It would automatically snap the object’s pivot to the origin. But, it’s not working… $.pivot = [0,0,0] works in the command line when I type it in manually. What in my syntax is wrong that the hotkey is broken?

This is what I have


macroScript jgCenterPivot
category:"jgScripts"
toolTip:""
(
$.pivot = [0,0,0] 
)

Any idea what I have done wrong? I’m definitely inexperienced with Scripting

2 Replies

do 2 things

1-save the ui
2-keyboard override toogle ” this is mainly the thing that hinders some shortcuts to work “

Thanks, that fixed it