Enable for ( ) mode ( ): Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
(Adding categories)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[File:Block 11 3 2023-5 19 53 PM.png|thumb|350x350px]]
{{Blocks|block_img=Block 11 3 2023-5 19 53 PM.png|block_type=Stack Blocks|category=Physics Extension}}

The enable for mode block is a stack block in the [[Physics]] extension. It is used to setup the hitbox for a physics object. When an object has physics enabled, it cannot be disabled unless the project is restarted.
The enable for mode block is a stack block in the [[Physics]] extension. It is used to setup the hitbox for a physics object. When an object has physics enabled, it cannot be disabled unless the project is restarted.


== Dropdowns ==
== Dropdowns (First) ==


=== First ===
=== '''This costume''' ===
Turns on the hitbox for the sprites current costume. When the costume is switched the same hitbox will be in place unless the block is used again, which will overwrite the previous hitbox


==== This costume ====
=== '''is circle''' ===
Turns on the hitbox for the sprites current costume. When the costume is switched the same hitbox will be in place unless the block is used again, which will overwrite the previous hitbox.

==== This circle ====
'''Not recommended'''
'''Not recommended'''

Gives the object a circular hitbox. The hitbox can only be a perfect circle however, and not an ellipse.
Gives the object a circular hitbox. The hitbox can only be a perfect circle however, and not an ellipse.


==== All sprites ====
=== '''All sprites''' ===
'''Not recommended'''
'''Not recommended'''


Gives all sprites in the project physics for their costume.
Gives all sprites in the project physics for their costume.


=== Second ===
== Dropdowns (Second) ==


==== Normal ====
=== '''Normal''' ===
Gives the object the hitbox normally.
Gives the object the hitbox normally.


==== Precision ====
=== '''Precision''' ===
'''Not recommended'''
'''Not recommended'''


Gives the object the hitbox matching the sprite outline.
Unsure what this does.
[[Category:Stack Blocks]]
[[Category:Stack Blocks]]
[[Category:Physics Blocks]]
[[Category:Physics Blocks]]

Latest revision as of 19:25, 4 April 2024

Enable for ( ) mode ( )
...
Caption
Block Type Stack Blocks
Category / Extension Physics Extension
Status Who tf uses status

The enable for mode block is a stack block in the Physics extension. It is used to setup the hitbox for a physics object. When an object has physics enabled, it cannot be disabled unless the project is restarted.

Dropdowns (First)

This costume

Turns on the hitbox for the sprites current costume. When the costume is switched the same hitbox will be in place unless the block is used again, which will overwrite the previous hitbox

is circle

Not recommended Gives the object a circular hitbox. The hitbox can only be a perfect circle however, and not an ellipse.

All sprites

Not recommended

Gives all sprites in the project physics for their costume.

Dropdowns (Second)

Normal

Gives the object the hitbox normally.

Precision

Not recommended

Gives the object the hitbox matching the sprite outline.