summaryrefslogtreecommitdiff
path: root/doc/classes/VisibilityNotifier2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/VisibilityNotifier2D.xml')
-rw-r--r--doc/classes/VisibilityNotifier2D.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/classes/VisibilityNotifier2D.xml b/doc/classes/VisibilityNotifier2D.xml
index 5689ced4bf..787a33d752 100644
--- a/doc/classes/VisibilityNotifier2D.xml
+++ b/doc/classes/VisibilityNotifier2D.xml
@@ -8,14 +8,13 @@
</description>
<tutorials>
</tutorials>
- <demos>
- </demos>
<methods>
<method name="is_on_screen" qualifiers="const">
<return type="bool">
</return>
<description>
If [code]true[/code], the bounding rectangle is on the screen.
+ Note: It takes one frame for the node's visibility to be assessed once added to the scene tree, so this method will return [code]false[/code] right after it is instantiated, even if it will be on screen in the draw pass.
</description>
</method>
</methods>