To place it in front of the player, I’d do this:
X = Player.x + cos(player.angle)*offset
Y = Player.y + sin(player.angle)*offset
You can put it behind the player using subtraction instead, and you can swap sin and cos for x and y to put it beside them.
This is also basically how you would pin objects to an object without the Pin behavior.
Tag: construct3
test files
Test Construct 3 html5 files on BitBalloon.com ….. which is now: https://app.netlify.com/drop