From 5d111e852e01ef05c60bd4dbaf4aa66d84259c42 Mon Sep 17 00:00:00 2001 From: Kent Thang Date: Wed, 27 Nov 2024 13:18:23 +0100 Subject: [PATCH] Update CanvasLayer 'Follow Viewport' documentation to match its behavior --- doc/classes/CanvasLayer.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/CanvasLayer.xml b/doc/classes/CanvasLayer.xml index 597ec7808998..e542eb7aee44 100644 --- a/doc/classes/CanvasLayer.xml +++ b/doc/classes/CanvasLayer.xml @@ -45,8 +45,8 @@ The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/code], uses the default viewport instead. - If enabled, the [CanvasLayer] will use the viewport's transform, so it will move when camera moves instead of being anchored in a fixed position on the screen. - Together with [member follow_viewport_scale] it can be used for a pseudo 3D effect. + If enabled, the [CanvasLayer] stays in a fixed position on the screen. If disabled, the [CanvasLayer] maintains its position in world space. + Together with [member follow_viewport_scale], this can be used for a pseudo-3D effect. Scales the layer when using [member follow_viewport_enabled]. Layers moving into the foreground should have increasing scales, while layers moving into the background should have decreasing scales.