cancel
Showing results for 
Search instead for 
Did you mean: 

How to play a sound fx by script? AudioGizmo does not show in Gizmos? Only Sound Recorder

InaCentaur
Member

How to play a sound fx by script?

 

Trying to have a machine play a sound effect and after going down some attempts to getComponent Sound, it seems that you need a special AudioGizmo to do this? 

I don't see an AudioGizmo in my gizmos? 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

SeeingBlue
Mentor

AudioGizmo is just the name of the TypeScript class that represents the sound recorder gizmo and any other audio related gizmos in Horizon.

Upcoming Events:
AMA - Oh My GenAI! A Practical Toolkit Tour Tuesday, May 6th 11:00 AM PT - Register
Build-Along - Code Smarter, Not Harder with Your AI Assistant Tuesday, May 20th 11:00 AM PT - Register
May Programming Calendar

View solution in original post

2 REPLIES 2

SeeingBlue
Mentor

AudioGizmo is just the name of the TypeScript class that represents the sound recorder gizmo and any other audio related gizmos in Horizon.

Upcoming Events:
AMA - Oh My GenAI! A Practical Toolkit Tour Tuesday, May 6th 11:00 AM PT - Register
Build-Along - Code Smarter, Not Harder with Your AI Assistant Tuesday, May 20th 11:00 AM PT - Register
May Programming Calendar

got it, so AudioGizmo is not an entity found in the Gizmos menu in Desktop Editor?