Need the localPosition equivalent of this script

Hello,

i am looking for the localPosition equivalent of this script and it should only calculate the Positions once not like in the script ive mentioned.

Script:

    void Update()
    {
        Vector3 direction = Hand.position - Point.position;
        Hand.transform.position = Camera.transform.position + direction;
    }

example video (hierarchy,…):

I believe this is what you’re looking for. Start() runs once when the script is first activated. Update() runs every frame.

void Start()
{
      Vector3 direction = Hand.position - Point.position;
      Hand.transform.localPosition = Camera.transform.position + direction;
}

Ill make a new thread thats filled with more information