Problem with Continuous Firing

I want to get my player to shoot bullets continuously, but I can’t add anything to the scene hierarchy inside a setInterval function.
https://playcanvas.com/editor/code/539704?tabs=11863399&line=27&col=26&

The link is invalid… did you delete this? Try sending a link to the editor :slight_smile: i will be glad to help you