From 1b028982bc0f86b078e1d2af00048f914e69b907 Mon Sep 17 00:00:00 2001 From: Helmasko <90912935+Helmasko@users.noreply.github.com> Date: Fri, 22 Sep 2023 02:47:23 +0300 Subject: [PATCH] Update custom_drawing_in_2d.rst --- tutorials/2d/custom_drawing_in_2d.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/2d/custom_drawing_in_2d.rst b/tutorials/2d/custom_drawing_in_2d.rst index ca073d18506..c13817dedf9 100644 --- a/tutorials/2d/custom_drawing_in_2d.rst +++ b/tutorials/2d/custom_drawing_in_2d.rst @@ -69,7 +69,8 @@ redrawn if modified: extends Node2D - export (Texture) var texture setget _set_texture + @export var texture: Texture: + set = _set_texture func _set_texture(value): # If the texture variable is modified externally,