Truth (True & False): Difference between revisions

From Fancade Wiki
(Created page with "File:True1.png File:False1.png Outputs `True` or `False` respectively. == Notes == On most of the blocks where one of the inputs take Truth, the default is `False`. The only exception, and the time where you would you use `False` are the Truth versions of Set Variable and Set Reference. == Related == * Number * Vector * Rotation Category:Blocks ")
 
(Added the False infobox)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[File:True1.png]]
{{Block
[[File:False1.png]]
|title=True
|image=True.png
|type=s
|folder=Values
|output1={{Port|t|True}}
}}
{{Block
|title=False
|image=False.png
|type=s
|folder=Values
|output1={{Port|t|False}}
}}
 
Outputs <code>True</code> or <code>False</code> respectively.


Outputs `True` or `False` respectively.
== Notes ==
== Notes ==


On most of the blocks where one of the inputs take Truth, the default is `False`. The only exception, and the time where you would you use `False` are the Truth versions of [[Set Variable]] and [[Set Reference]].
On most of the blocks where one of the inputs take Truth, the default is <code>False</code>. The only exception, and the time where you would you use <code>False</code> are the Truth versions of [[Set Variable]] and [[Set Reference]].


== Related ==
== Related ==
Line 12: Line 25:
* [[Vector]]
* [[Vector]]
* [[Rotation]]
* [[Rotation]]


[[Category:Blocks]]
[[Category:Blocks]]

Latest revision as of 19:12, 30 May 2024

True
True.png
TypeScript block
ColliderNone
FolderValues
Ports
Outputs True
False
False.png
TypeScript block
ColliderNone
FolderValues
Ports
Outputs False

Outputs True or False respectively.

Notes

On most of the blocks where one of the inputs take Truth, the default is False. The only exception, and the time where you would you use False are the Truth versions of Set Variable and Set Reference.

Related