In Unreal Engine 5, utilising blueprints to create interactive elements like a door and a music box allows for seamless gameplay integration and immersive experiences. By designing a blueprint for the door, you can incorporate logic for opening and closing animations, triggered by player input, complemented by sound effects to enhance realism. Similarly, the music box blueprint can feature audio playback and visual effects that respond to player interactions, creating an enchanting atmosphere. Both blueprints include components like static meshes and collision boxes, enabling intuitive player engagement while integrating sound effects and music to enrich the overall environment.
https://dev.epicgames.com/community/learning/tutorials/wojX/unreal-engine-fortnite-create-a-blueprint-for-adding-music-and-sound-effects