Magnet

From Blocksworld Wiki
Jump to: navigation, search
Magnet HD.png

The Magnet is an Action Block that attracts or repels other blocks. Attraction or repulsion is based on the Magnet block's color and/or texture - it will affect any other block that shares the selected traits.

Notes[edit | edit source]


  • A block must be the same color, or share the same texture, as the Magnet block in order to be affected by it. In addition, any block with the Metal surface applied will automatically be attracted to the Magnet.


  • Positive and negative magnetic poles can be simulated by using the various Attract or Repel actions - these switch the Magnet between pulling other blocks in, and pushing them away.


  • Selecting the Max Range action displays a large white sphere emanating from the Magnet - this shows the exact, in-world range of the Magnet, using block units. Moving the range slider updates this sphere in real time for an accurate view of the Magnet's range.


  • By default, a placed Magnet adds Max Range and Attract Texture Actions to its Programming Window. On play, the Magnet will pull any object with the matching texture (in this case, the Metal surface) applied to it, out to its maximum range. These default Tiles can be replaced or modified by the user.


List of Scripting Tiles[edit | edit source]

Image Tile Name Description Parameter
95x75
Max Range Sets the maximum range of the Magnet's influence (in block units) Distance (Slider)
95x75
Attract Color Makes the Magnet attract blocks that share its assigned paint color Force (Slider)
95x75
Repel Color Makes the Magnet repel blocks that share its assigned paint color Force (Slider)
95x75
Attract Texture Makes the Magnet attract blocks that share its assigned texture (or surface shader, such as Metal or Transparent Force (Slider)
95x75
Repel Texture Makes the Magnet repel blocks that share its assigned texture (or surface shader, such as Metal or Transparent Force (Slider)
95x75
Attract Tag Makes the Magnet attract blocks with the specified Tag Force (Slider)
95x75
Repel Tag Makes the Magnet repel blocks with the specified Tag Force (Slider)


Usage[edit | edit source]

Usage information for this block.

Tips & Tricks[edit | edit source]

Tips and tricks for this block.