How to set a position "anchor" on an object that is not affected by YSort?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By whn2007

Hello! I am trying to set up a enemy follow script that follows the player’s position. However, the YSort seems to be interfering causing the enemy script to follow a bit off from the target. Testing shows that the YSort does indeed affect player position. If anyone has a clue about this please help me out!

:bust_in_silhouette: Reply From: whn2007

Nevermind, i figured out why this issue was caused. The YSort was not placed at the origin, so all of the object’s origins were offset.