Script to Root Entity

Hello, me and a friend of mines are trying to make a multiplayer game, but we are new, can we have some help with how to attach a script to the root entity? Im welcome to any answers, Thanks!

You attach your scripts to entities by adding a Script Component:

Please, refer to User Manual for this and other starting guides:
https://developer.playcanvas.com/en/user-manual/scripting/

1 Like