Is () visible?: Difference between revisions

From PenguinMod Wiki
Is () visible?
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
Line 4: Line 4:
</gallery>|block_type=Boolean|category=[[Looks]]|status=}}
</gallery>|block_type=Boolean|category=[[Looks]]|status=}}


The is visible block is a boolean block and a [[looks 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 this sprite or another sprite is visible or not.
==Workaround==
==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.
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.

Latest revision as of 12:24, 10 March 2024

Is () visible?
...
[[File:|200px]]
Caption
Block Type Boolean
Category / Extension Looks
Status

The is visible block is a boolean block and a looks block that detects if this sprite or 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.