mouse/curser colide

how can i make the curser/mouse colide with somthing as i want to create a boundary so the mouse cant go there


You can use a tip : attach an object to the cursor position, use this object as “collider” with other and make it transparent. You can also keep visible and hide mouse cursor, so you’ll have a custom mouse cursor !