Standalone expression (the line has no effect).

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SrDarkClover

how to solve

:bust_in_silhouette: Reply From: exuin

You probably have == instead of = but I can’t tell for sure without the actual code.

:bust_in_silhouette: Reply From: Firty
var date:String = "04/01/2021"

func _ready():
	date

this is a STANDALONE_EXPRESSION. when you write something in the code that just won’t do anything.