I’m not particularly sure of what you’re trying to achieve as I haven’t played Soul Knight. But I’m thinking perhaps orbit extension might help? Like maybe you want to have the weapon “orbit” around the player but just within arms length?
https://wiki.gdevelop.io/gdevelop5/extensions/orbiting-objects/
Also this other post might help as it’s also about making an object move around another object.