For anyone who knows of "Windows Mouse Capture," it's a program that allows one to bound the mouse cursor within a window. This option can be toggled by a hotkey.

I'm looking for a program that does the same thing, except for Macs. Thanks ^^