Translate Local to x,y,z

How would I make it so I could use translate local go to a specific position?

Probably you are looking for the function below.

this.entity.setPosition(x,y,z);

It’s on API document.

https://developer.playcanvas.com/api/pc.Entity.html#setLocalPosition