godot 4 tween property not returning anything

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sdksdk
func shine():
	var tween = create_tween()
	tween.tween_property($hexgrid.material, "shader_param/shine_progress", 0.0, shine_time).from(1.0).set_trans(Tween.TRANS_SINE).set_ease(Tween.EASE_IN)
	tween.play()

Cannot call method ‘from’ on a null value.

The example posted works fine; there’s something else wrong with the code or the input values.

spaceyjase | 2023-03-09 13:13