Return () (My Blocks): Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
Line 1: Line 1:
{{Blocks
{{Blocks
|block_img = Block 01 01 2024-14 48 16(1).png
|block_img = <gallery>
Block 01 01 2024-14 48 16(1).png|Block
ReturnWorkaround.png|Workaround
</gallery>
|block_type = Cap Block
|block_type = Cap Block
|category = [[My Blocks]]
|category = [[My Blocks]]

Latest revision as of 18:06, 8 June 2024

return ()
...
[[File:|200px]]
Caption
Block Type Cap Block
Category / Extension My Blocks
Status Who tf uses status

The return block is a cap block and a block in the My Blocks category that is used to return values for custom reporters or booleans.

There is an events block of the same name, located in the "Events Expansion" extension.

Workaround

Variables can be used instead to save values for custom blocks.