how can i access functions from another scripts in godot? I'd try loading the bullet script into the player one Then you can "instance" the bullet script to make bullets After the bullet is created in player, set the info on the bullet, then add the bullet as children of the parent with get_parent() add_child(bullet)
How to call function from other script? Pls help Im new - Godot Forum There are multiple ways to do this: The most common one is to call get_node (path) link to documentation You can also do this by using $ notation link to a tutorial And you can also use an Autoload, but you shouldn’t abuse this, as this is intended for things that need the Singleton pattern
How do I call a GD script from another GD script and use functions in . . . If your script doesn't have a class_name MyScript then you can do const MyScript = preload("path to script gd") Then for static funcs you can just do MyScript static_func(args) For the rest you'll need an instance of that script