hi, im trying to make the background blury when i have a menu open. i have a basic menu made and working but i can’t get the background to blur. i know there’s a setting in the worldenvironment node that dose that but i can’t find anyway to set it with code. is there any way to change the near distance blur setting in the worldenvironment node using code?
Usually it’s the resrource name and then the property name. You can drag & drop them into the code to generate the correct name automatically (not the full path though…)
still didn’t work i gotta be missing something, bc even tho it didn’t work it didn’t give any errors either. im still vary knew to code and godot so i wouldn’t be surprised if im just missing something painfully obvious. ill post my code here like i should have at the start.
extends Node
@onready var ui = $“…” @onready var blur = $“…/…/environment/sky”
func _process(_delta):
if Input.is_action_just_pressed(“esc”):
if !get_tree().paused:
stop()
else:
start()