HEEEEEELP

Hello, I need help coding a weapon.
I want a magic book that summons energy at the player’s mouse, but mousemove and position blocks won’t do the trick! Please help!
@“JR 01” @browngr @grazer @Superstargames

So you just need the angle to go into emit? Try my Angle-To bundle:

Point At and Angle to example:
https://flowlab.io/game/play/1313462

@“JR 01” no I need the exact pixel, including y and x axis.

Is the pixels not exact?
It could be at the middle or tip of the mouse icon, you could adjust it by using expressions to make Mouse = the position you want.

No you try, It’s completely off-kilter by about 7 blocks.
https://flowlab.io/game/play/1424538
https://flowlab.io/game/play/1424538
https://flowlab.io/game/play/1424538
@“JR 01”

Comment the link, I’ll try it when I can.

https://flowlab.io/game/play/1424538

What object spawns it?

Weapon magic book

@grazer, seems the “game position” option in the MouseMove behavior acts up when you update the camera behavior.

https://www.loom.com/share/631330647e2f46108464587308383cc1

that is what I suspected

What was that algorithm you added in to make it work? Too low quality to see :frowning:

@“JR 01”

It’s a custom auto scroll so you dont have to use the built in one.
You can actually use another way around using the “screen position” for the Mouse move.

Just message the object the camera outputs and add it to the MouseMove X and Y by using an expression and output to spawn.