How to make a node/scene inherit another node/scene?

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

For example, let’s say I have a base scene called “Character” that has different functions and variables such as health, attack function, effects etc.

How do I go about extending this base “Character” scene and create “Player”, “Enemy”, “Ally” etc.?

My current approach is simply copying all the code from the base scene to the respective extended scenes, but I was wondering if there was a more “right”, elegant approach.

:bust_in_silhouette: Reply From: JorensM

Found solution: When creating new Scene, select “New Inherited Scene”