Up sword slash?

How would I be able to make a sword slash up when the mouse is above the player?

If you are emitting the object, you can get the X and Y cords of the mouse, then use that to get the angle, I’ll send a screenshot in a sec

If you’re making it attack at a specific angle and don’t want it to be a 360 attack range than this should work

But how can I make it so when its more than 2 blocks/grid above the player it does the slash up?

Have an expression add 64 to the Y position of the mouse, so when it goes through the filter the hand will need to be 64 pixels above the player to have the slash go upwards