#Instantiatng at set vector2
1 messages · Page 1 of 1 (latest)
I don't know if I understood the question right, but child.transform.localPosition = Vector2.zero ?
nope figured it out
transform.parent.position = transform.position + new Vector3(10, 0, 0);
and btw how do I make that square when you do the code?
Your question is not clear
"that square" is called a code block, and you get it by surrounding your code with three back ticks (```) on either side.
And you can additionally add syntax highlighting by adding the shortcode (or sometimes the full name) of the language you're using at the end of the first three backticks (e.g. cs for C#):