Why does a node get automatically parented to another node.

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

so i am new to Godot and i was watching this tutorial on how to make a simple 2d platformer. everything was going well until i created a floor. the floor consisted of a staticBody2d and a collision shape 2d and the sprite. when i saved the scene and i was going to drag it into the main scene with the player. it automatically parented the floor to the player and i couldnt get it out of the player. someone please help, i would greatly appreciate it.

:bust_in_silhouette: Reply From: ArthyChaux

Can you add more elements, like the two scene trees you’re having ?

Yes I can.but they get parented automatically to the player as well and I can’t unparent it.

SifflePiffle | 2022-03-19 13:47

never mind i figured it out

SifflePiffle | 2022-03-19 15:52

Please answer how you figured it out and close the question so other can use this to help themselves.

codelyok13 | 2022-03-19 15:58