Shader Graph - Distort Sprite In A Direction Around A World Position Input

I’m trying to use a shader graph to shift the pixels of a sprite in a particular direction if they are within a certain distance from an input position.

I think I’m fairly close but for some reason the distortion from my current shader graph is only working around the edges of the sprite. There is no effect if I place the distortion point at the center of the sprite.

Also my current attempt isn’t symmetrical. If I place the distortion point on the right side only a small part of the sprite is distorted. If I place the distortion point at the top however the distortion nearly reaches the center of the sprite.

I’m really stumped :confused:

Turned out I didn’t have the mesh setup correctly! I wasn’t thinking about the mesh because it’s a 2D asset. The vertex shader can only work using the vertices of the mesh.