Is () visible?: Difference between revisions

From PenguinMod Wiki
Is () visible?
Jump to navigation Jump to search
Content added Content deleted
(Created page with "thumb|463x463px The is visible block is a boolean block that detects if another sprite is visible or not.")
 
No edit summary
Line 1: Line 1:
[[File:Block 5 2 2023-6 02 43 PM.png|thumb|463x463px]]
[[File:Block 5 2 2023-6 02 43 PM.png|thumb|463x463px]]
The is visible block is a boolean block that detects if another sprite is visible or not.
The is visible block is a boolean block and a [[looks block]] that detects if another sprite is visible or not.
==Workaround==
Using the [[visible]] block, just set the variable from another sprite to the value of the boolean. To avoid cluttering the variable list of other sprites, make it sprite only, and get the value using the () of () sensing reporter block.
[[Category:Boolean Blocks]]
[[Category:Looks Blocks]]

Revision as of 22:46, 13 November 2023

The is visible block is a boolean block and a looks block that detects if another sprite is visible or not.

Workaround

Using the visible block, just set the variable from another sprite to the value of the boolean. To avoid cluttering the variable list of other sprites, make it sprite only, and get the value using the () of () sensing reporter block.