Skip to content
Formabble Reference
ToInt2
Initializing search
GitHub
Home
Guide
Shards
Formabble Reference
GitHub
Home
Guide
Guide
Formabble Guide
Why Formabble?
What is Shards?
Getting Started with the Formabble Interface
My First Level Tutorial
Useful FBL Shards
Formabble Samples
Formabble Glossary
Shards
Shards
Shards
Shards
Types
Animation
Animation
Animation.Duration
Animation.Play
Animation.Timer
Assert
Assert
Assert.Break
Assert.Is
Assert.IsAlmost
Assert.IsNot
Assert.IsStatic
Assert.IsVariable
Audio
Audio
Audio.Channel
Audio.Device
Audio.Oscillator
Audio.ReadFile
Audio.WriteFile
BigInt
BigInt
BigInt.Abs
BigInt.Add
BigInt.And
BigInt.Divide
BigInt.FromFloat
BigInt.Is
BigInt.IsLess
BigInt.IsLessEqual
BigInt.IsMore
BigInt.IsMoreEqual
BigInt.IsNot
BigInt.Max
BigInt.Min
BigInt.Mod
BigInt.Multiply
BigInt.Or
BigInt.Pow
BigInt.Shift
BigInt.Sqrt
BigInt.Subtract
BigInt.ToBytes
BigInt.ToFloat
BigInt.ToHex
BigInt.ToInt
BigInt.ToString
BigInt.Xor
Brotli
Brotli
Brotli.Compress
Brotli.Decompress
Bytes
Bytes
Bytes.Join
CSV
CSV
CSV.Read
CSV.Write
ChaChaPoly
ChaChaPoly
ChaChaPoly.Decrypt
ChaChaPoly.Encrypt
DB
DB
DB.Backup
DB.LoadExtension
DB.Query
DB.RawQuery
DB.Transaction
DSP
DSP
DSP.FFT
DSP.IFFT
Date
Date
Date.Format
ECDSA
ECDSA
ECDSA.PublicKey
ECDSA.Recover
ECDSA.Seed
ECDSA.Sign
Ed25519
Ed25519
Ed25519.PublicKey
Ed25519.Seed
Ed25519.Sign
Ed25519.Verify
Events
Events
Events.Check
Events.Emit
Events.Receive
Events.Send
Events.Update
Fbl
Fbl
Fbl.Deform
Fbl.Dispatch
Fbl.Dupe
Fbl.Fetch
Fbl.Find
Fbl.FormId
Fbl.FormInfo
Fbl.Formalize
Fbl.HasTags
Fbl.IsPlaying
Fbl.NextFrame
Fbl.Slot
Fbl.Username
Fbl.WithTag
Fbl.WithTags
GFX
GFX
GFX.BuiltinFeature
GFX.BuiltinMesh
GFX.ClearQueue
GFX.CopyPass
GFX.Draw
GFX.DrawQueue
GFX.Drawable
GFX.DrawablePass
GFX.EffectPass
GFX.EndFrame
GFX.Feature
GFX.MainWindow
GFX.Material
GFX.Mesh
GFX.MoveWindow
GFX.QueueDrawables
GFX.ReadTexture
GFX.Render
GFX.RenderInto
GFX.RenderTarget
GFX.RenderTargetTexture
GFX.Renderer
GFX.ResizeWindow
GFX.Texture
GFX.UIPass
GFX.UIScaleFactor
GFX.View
GFX.ViewMatrix
GFX.ViewProjectionMatrix
GFX.ViewRange
GFX.WindowPosition
GFX.WindowSize
GFX.glTF
General
General
And
AppendTo
Assoc
Await
BigInt
BitSwap32
BitSwap64
Branch
Broadcast
BytesToInts
BytesToString
Cached
CaptureLog
Clamp
Clear
Comment
Complete
Cond
Const
Consume
Convolve
Count
DShard
DemultiplyAlpha
Detach
Do
DoMany
Drop
DropFront
Erase
Evolve
Exit
Expand
Expect
ExpectAudio
ExpectAudioSeq
ExpectBool
ExpectBoolSeq
ExpectBytes
ExpectBytesSeq
ExpectColor
ExpectColorSeq
ExpectFloat
ExpectFloat2
ExpectFloat2Seq
ExpectFloat3
ExpectFloat3Seq
ExpectFloat4
ExpectFloat4Seq
ExpectFloatSeq
ExpectImage
ExpectImageSeq
ExpectInt
ExpectInt16
ExpectInt16Seq
ExpectInt2
ExpectInt2Seq
ExpectInt3
ExpectInt3Seq
ExpectInt4
ExpectInt4Seq
ExpectInt8
ExpectInt8Seq
ExpectIntSeq
ExpectLike
ExpectNone
ExpectSeq
ExpectString
ExpectStringSeq
ExpectTable
ExpectWire
ExpectWireSeq
Fail
FillAlpha
Flatten
FloatsToImage
FlushLog
ForEach
ForRange
FreeCamera
FromBase58
FromBase64
FromBytes
FromJson
FromLEB128
Get
GetImagePixel
Hash
Hashed
HexToBytes
Highest
If
ImageToBytes
ImageToFloats
IndexOf
Input
IntsToBytes
Is
IsAll
IsAllLess
IsAllLessEqual
IsAllMore
IsAllMoreEqual
IsAllNot
IsAlmost
IsAny
IsAnyLess
IsAnyLessEqual
IsAnyMore
IsAnyMoreEqual
IsAnyNot
IsAudio
IsBool
IsBytes
IsColor
IsFalse
IsFloat
IsFloat2
IsFloat3
IsFloat4
IsImage
IsInt
IsInt2
IsInt3
IsInt4
IsLess
IsLessEqual
IsMore
IsMoreEqual
IsNone
IsNot
IsNotNone
IsRunning
IsSeq
IsString
IsTable
IsTrue
IsValidNumber
IsWire
Isolate
LastError
Limit
Listen
LoadImage
Log
LogType
Lowest
MakeColor
MakeFloat2
MakeFloat3
MakeFloat4
MakeInt16
MakeInt2
MakeInt3
MakeInt4
MakeInt8
Map
Match
Max
Maybe
Merge
Min
Msg
Mutant
NaNTo0
NanoID
Not
Once
Or
Pack
ParseFloat
ParseInt
Pass
Pause
PauseMs
Peek
Pop
PopFront
PremultiplyAlpha
PrependTo
Produce
Profile
Push
RTake
RandomBytes
RandomFloat
RandomInt
Recur
Reduce
Ref
Remove
Repeat
Replace
ResizeImage
Restart
Resume
Return
Reverse
Sequence
Set
SetLogLevel
Slice
Snowflake
Sort
Spawn
Step
StepMany
Stop
StringToBytes
StripAlpha
Sub
Suspend
Swap
SwitchTo
Table
Take
TargetCamera
ToBase58
ToBase64
ToBytes
ToColor
ToFloat
ToFloat2
ToFloat3
ToFloat4
ToHex
ToInt
ToInt16
ToInt2
ToInt3
ToInt4
ToInt8
ToJson
ToLEB128
ToString
TryMany
TypeOf
UI
UUID
Unpack
Update
VarAddr
Wait
When
WhenDone
WhenNot
WireLoader
WireRunner
Zip
Gizmos
Gizmos
Gizmos.Arrow
Gizmos.Box
Gizmos.Circle
Gizmos.Context
Gizmos.Debug
Gizmos.Disc
Gizmos.Grid
Gizmos.Highlight
Gizmos.Line
Gizmos.Point
Gizmos.Rect
Gizmos.RefspaceGridOverlay
Gizmos.Rotation
Gizmos.Scaling
Gizmos.ScreenScale
Gizmos.ScreenXY
Gizmos.SolidRect
Gizmos.Translation
Hash
Hash
Hash.Blake2-128
Hash.Blake2-256
Hash.Keccak-256
Hash.Keccak-512
Hash.Sha2-256
Hash.Sha2-512
Hash.Sha3-256
Hash.Sha3-512
Hash.XXH-128
Hash.XXH-64
Http
Http
Http.Delete
Http.Get
Http.Head
Http.Patch
Http.Post
Http.Put
Http.Read
Http.Response
Http.SendFile
Http.Server
Inputs
Inputs
Inputs.DebugUI
Inputs.Detached
Inputs.GetContext
Inputs.HandleURL
Inputs.IsKeyDown
Inputs.KeyDown
Inputs.KeyUp
Inputs.Mouse
Inputs.MouseDelta
Inputs.MouseDown
Inputs.MousePixelPos
Inputs.MousePos
Inputs.MouseUp
Inputs.PixelSize
Inputs.Size
Math
Math
Math.Abs
Math.Acos
Math.Acosh
Math.Add
Math.And
Math.Asin
Math.Asinh
Math.Atan
Math.Atanh
Math.AxisAngleX
Math.AxisAngleY
Math.AxisAngleZ
Math.Cbrt
Math.Ceil
Math.Cos
Math.Cosh
Math.Cross
Math.Dec
Math.Decompose
Math.DegreesToRadians
Math.Divide
Math.Dot
Math.Erf
Math.Erfc
Math.Exp
Math.Exp2
Math.Expm1
Math.FastInvSqrt
Math.FastSqrt
Math.Floor
Math.Inc
Math.Inverse
Math.LGamma
Math.LShift
Math.Length
Math.LengthSquared
Math.Lerp
Math.Log
Math.Log10
Math.Log1p
Math.Log2
Math.LookAt
Math.MatIdentity
Math.MatMul
Math.Mean
Math.Mod
Math.Multiply
Math.Negate
Math.Normalize
Math.Or
Math.Orthographic
Math.Pow
Math.Project
Math.QuatMultiply
Math.QuatRotate
Math.RShift
Math.RadiansToDegrees
Math.Rotation
Math.Round
Math.Scaling
Math.Sin
Math.Sinh
Math.Slerp
Math.Sqrt
Math.Subtract
Math.TGamma
Math.Tan
Math.Tanh
Math.Translation
Math.Transpose
Math.Trunc
Math.Unproject
Math.Xor
Network
Network
Network.Broadcast
Network.Client
Network.Peer
Network.PeerID
Network.Send
Network.Server
ONNX
ONNX
ONNX.Activate
ONNX.Load
Physics
Physics
Physics.AngularImpulse
Physics.Ball
Physics.CastRay
Physics.Cuboid
Physics.DynamicBody
Physics.Force
Physics.Impulse
Physics.KinematicBody
Physics.Simulation
Physics.StaticBody
Physics.Torque
Random
Random
Random.Name
Reflect
Reflect
Reflect.Name
Reflect.Shards
Regex
Regex
Regex.Match
Regex.Replace
Regex.Search
SVG
SVG
SVG.ToImage
Shader
Shader
Shader.LinearizeDepth
Shader.Literal
Shader.ReadBuffer
Shader.ReadGlobal
Shader.ReadInput
Shader.RefSampler
Shader.RefTexture
Shader.SampleTexture
Shader.SampleTextureCoord
Shader.WithInput
Shader.WithTexture
Shader.WriteGlobal
Shader.WriteOutput
Shards
Shards
Shards.Distill
Shards.Enumerate
Shards.Help
Shards.Read
Snappy
Snappy
Snappy.Compress
Snappy.Decompress
Sr25519
Sr25519
Sr25519.PublicKey
Sr25519.Seed
Sr25519.Sign
Sr25519.Verify
String
String
String.Contains
String.DecodeURI
String.EncodeURI
String.Format
String.Join
String.Split
String.Starts
String.ToLower
String.ToUpper
String.Trim
TargetCamera
TargetCamera
TargetCamera.FromLookAt
TargetCamera.Matrix
Time
Time
Time.Delta
Time.DeltaMs
Time.Epoch
Time.EpochMs
Time.MovingAverage
Time.Now
Time.NowMs
Time.Pop
Time.ToString
UI
UI
UI.AddFonts
UI.Area
UI.AutoGrid
UI.BottomPanel
UI.Button
UI.Canvas
UI.CentralPanel
UI.Checkbox
UI.CloseMenu
UI.CodeEditor
UI.Collapsing
UI.ColorInput
UI.Columns
UI.Combo
UI.Console
UI.Disable
UI.DockArea
UI.DragAndDrop
UI.Float2Input
UI.Float2Slider
UI.Float3Input
UI.Float3Slider
UI.Float4Input
UI.Float4Slider
UI.FloatInput
UI.FloatSlider
UI.Frame
UI.GetClipboard
UI.Grid
UI.Group
UI.HexViewer
UI.Horizontal
UI.Hyperlink
UI.Image
UI.ImageButton
UI.Indent
UI.Int2Input
UI.Int2Slider
UI.Int3Input
UI.Int3Slider
UI.Int4Input
UI.Int4Slider
UI.IntInput
UI.IntSlider
UI.Label
UI.Layout
UI.LayoutClass
UI.LeftPanel
UI.Link
UI.ListBox
UI.MarkdownViewer
UI.Menu
UI.MenuBar
UI.NextRow
UI.Overlay
UI.PaintCircle
UI.Plot
UI.PlotBar
UI.PlotLine
UI.PlotPoints
UI.PopupWrapper
UI.ProgressBar
UI.Property
UI.RadioButton
UI.Render
UI.RenderTarget
UI.Reset
UI.RestoreState
UI.RightPanel
UI.SaveState
UI.Scope
UI.ScrollArea
UI.Selectable
UI.Separator
UI.SetClipboard
UI.Sized
UI.Space
UI.Spinner
UI.Style
UI.Tab
UI.Table
UI.TextField
UI.Tooltip
UI.TopPanel
UI.Variable
UI.Vertical
UI.WidgetStyle
UI.Window
UI.WireVariable
UUID
UUID
UUID.Convert
UUID.ToBytes
UUID.ToString
WS
WS
WS.Client
WS.ReadString
WS.WriteString
ToInt2
¶
Name
-
Description
Default
Type
<input>
Any
<output>
Any
Back to top