![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | TheRetroMemeCoder |
Code:
func _process(delta):
if Input.is_action_pressed("ui_accept"):
queue_free()
Error: “The method “queue_free” is not declared is the current class.”
Script type: GDScript file
I don’t see any typo. What object does this script extend
from ?
Inces | 2022-09-04 10:10
Today I came back and when you asked me this question, I wanted too so I added a extend
block to my TextEdit but all it did was make it space out, so I used a label. And it worked! It extends from Label.
TheRetroMemeCoder | 2022-09-04 12:06