Can you please show the scene tree and point out the node, that you are trying to position and point out the node, that contains the script?
Recently a similar question was raised, but i’m not sure, if this scenario applies to your use-case: Checking if an event is within a collisionshape2d area - #4 by Sauermann