Is () visible?: Difference between revisions

From PenguinMod Wiki
Is () visible?
Jump to navigation Jump to search
Content added Content deleted
m (MediansSC moved page is () visible? to is () visible?)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
Block 5 2 2023-6 02 43 PM.png|Block
Block 5 2 2023-6 02 43 PM.png|Block
visible.png|Workaround
visible.png|Workaround
</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.
{{DISPLAYTITLE:is () visible?}}
[[Category:Boolean Blocks]]
[[Category:Boolean Blocks]]
[[Category:Looks Blocks]]
[[Category:Looks Blocks]]

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.