I have some moves bound by context action service, and want to disable them when in a menu and reenable them when existing the menu. This, for me, would be somewhat complicated, so I was wondering if there was an easier method of a temporary unbinding of an action before its eventually rebinding after a limit?
i don’t have studio open rn but its something similar to this
function tempUnbind(duration :number)
contextactionservice:unbind()
task.delay(duration, function() contextactionservice:bindAgain end
end
this is the primary purpose of using context action service over user input service in the first place,
to bind actions onto a certain context (in your case opening the menu).
just bind the menu actions at a higher priority than the “moves” you described, and unbind the menu actions when the menu closes.
no need to modify the move bindings