0 votes

A have a trigger object that play a music/event when the player steps in, It's a Area2D with a CollisionPolygon2D. As it's child as well, there's a AudioStreamPlayer that holds the sound I choosed.

With the trigger, can I export directly it's child property like the Volume_Db, Pitch, the AudioStream to the inspector?

The intention is to control the child through the inspector of the parent, because obviously the exported scenes are locked to modifications.

in Engine by (371 points)

You can use editable children to workaround the "locked modifications". Right-click the instance, and check "editable children".

So far, been doing like:

export (float) var Duration = 10.0 #Default value assigned


I didn't knew editable children was this powerful, I misjudge by a short route to edit the locked scene base, and any changes was going to be applied permanently. Ty

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.