Help for a 2d issue

So I’m trying to make the hands of my player(Separate sprite) follow the mouse but stop at the edge of the player’s reach. I want it to act as a hand of the player. Basically, take a square and have it follow the mouse position, then once the object is let’s say 30 away from the player it stops moving further in that direction.

Hi @ironbatman12theMemegod , it looks like a good place to use inverse kinematics (IK). If you set up your character with 2D Animation package it is very easy to add IK and make player’s hand follow mouse, objects etc.

Ive never used that and have no clue how I would handle that