summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorunknown <numaanzaheerahmed@yahoo.com>2019-06-18 19:47:48 +0530
committerunknown <numaanzaheerahmed@yahoo.com>2019-06-18 20:57:42 +0530
commit44a20a0f610282cd4ecfd12437ab90c65f29e8d4 (patch)
tree8e6ce2d7050b2700fdf69c16b9a253d9788460c5 /doc/classes
parent0cdbf7315b1ce7093f9c37eae2d9df3294cfb998 (diff)
Added description to is_pixel_opaque() in Sprite.xml
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Sprite.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Sprite.xml b/doc/classes/Sprite.xml
index 26ff67cc74..097a5f2ed2 100644
--- a/doc/classes/Sprite.xml
+++ b/doc/classes/Sprite.xml
@@ -28,6 +28,8 @@
<argument index="0" name="pos" type="Vector2">
</argument>
<description>
+ Returns [code]true[/code], if the pixel at the given position is opaque and [code]false[/code] in other case.
+ Note: It also returns [code]false[/code], if the sprite's texture is null or if the given position is invalid.
</description>
</method>
</methods>