Skip to main content
edited tags; edited tags
Link
Vaillancourt
  • 16.4k
  • 17
  • 56
  • 61
Clarifying title
Source Link
DMGregory
  • 140.8k
  • 23
  • 257
  • 401

Godot - How to print(dir(variable)) out the properties and methods of a class in GDScript?

I want to print the properties and methods of a class into the console with GDScript. In pythonPython, this can be done with the print(dir(variable)) method.

Is there an analogous function in GDScript?

Godot - How to print(dir(variable))

I want to print the properties and methods of a class into the console with GDScript. In python this can be done with the print(dir(variable)) method.

Is there an analogous function in GDScript?

How to print out the properties and methods of a class in GDScript?

I want to print the properties and methods of a class into the console with GDScript. In Python, this can be done with the print(dir(variable)) method.

Is there an analogous function in GDScript?

Source Link
dmodo
  • 171
  • 1
  • 5

Godot - How to print(dir(variable))

I want to print the properties and methods of a class into the console with GDScript. In python this can be done with the print(dir(variable)) method.

Is there an analogous function in GDScript?