How do I define shiftlock?

Not sure how to define shiftlock in a script

Short answer: You can’t

But there are some properties you can use to detect when a ShiftLock gets detected/activated

1 Like

Is there a way to activate it?

I don’t think I quite follow?

You can disable/enable the shiftlock upon entering an action by setting the EnableMouseLockOption property to false/true

Either that, or you can make a custom system.