0 votes
func _ready():  
    if Input.is_action_pressed("scale_up"):
    #   NEED THIS if is_inside_tree():

how do i make everything bigger by scaling??
I'm using Godot 3.1.1 stable windows 8.1 64bit

asked Sep 30, 2019 in Projects by 0sait05 (41 points)

1 Answer

0 votes

global_scale is a property, not a function, that's why you cannot use the "call" syntax this way.

Treat it as a variable, like so:

global_scale = Vector3(90, 90, 90)
answered Sep 30, 2019 by Zylann (26,149 points)

This is what I needed and it works.
Don't think this is a property. it's still a function but I'm new to coding.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.