Skip to content
Fragcolor documentation
ModifierKey
Initializing search
GitHub
Home
Learn
Reference
Download
Contribute
Fragcolor documentation
GitHub
Home
Learn
Learn
Shards
Shards
Primer
Primer
What is Shards
Coding with Shards
Shards Flow
Working with Data
Tutorials
Tutorials
Glod game
Glod game
Introduction
Steps
Steps
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Full game
Full game
Snake
Snake
Introduction
Steps
Steps
Step 1
Step 2
Step 3
Step 4
Step 5
Full game
Full game
Yes no game
Yes no game
Introduction
Steps
Steps
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Full game
Full game
Reference
Reference
Shards
Shards
Overview
Overview
Shards
Shards
Types
Animation
Animation
Animation.Duration
Animation.Interpolated
Animation.Play
Animation.Timer
Argon2id
Argon2id
Argon2id.Hash
Argon2id.Verify
Assert
Assert
Assert.Is
Assert.IsAlmost
Assert.IsNot
Assert.IsStatic
Assert.IsVariable
Audio
Audio
Audio.Channel
Audio.Cones
Audio.Device
Audio.Direction
Audio.Engine
Audio.Oscillator
Audio.Pan
Audio.Pause
Audio.Pitch
Audio.Position
Audio.ReadFile
Audio.Sound
Audio.Start
Audio.Stop
Audio.Velocity
Audio.Volume
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
Debug
Debug
Debug.Break
Debug.DumpEnv
Debug.Noop
Debug.WireStack
Desktop
Desktop
Desktop.Bounds
Desktop.CaptureFrame
Desktop.CursorBitmap
Desktop.GetMousePos
Desktop.HasWindow
Desktop.IsForeground
Desktop.LastInput
Desktop.LeftClick
Desktop.MiddleClick
Desktop.Move
Desktop.MoveMouse
Desktop.NotForeground
Desktop.PID
Desktop.Pixel
Desktop.Pixels
Desktop.Resize
Desktop.RightClick
Desktop.ScrollHorizontal
Desktop.ScrollVertical
Desktop.SendKeyEvent
Desktop.SetBorderless
Desktop.SetClickthrough
Desktop.SetForeground
Desktop.SetMousePos
Desktop.SetTimerResolution
Desktop.SetTitle
Desktop.SetTopmost
Desktop.Size
Desktop.Tap
Desktop.UnsetClickthrough
Desktop.UnsetTopmost
Desktop.WaitKeyEvent
Desktop.WaitWindow
ECDSA
ECDSA
ECDSA.PublicKey
ECDSA.Recover
ECDSA.Seed
ECDSA.Sign
EDN
EDN
EDN.Eval
Ed25519
Ed25519
Ed25519.PublicKey
Ed25519.Sign
Ed25519.Verify
Events
Events
Events.Check
Events.Emit
Events.Receive
Events.Send
Events.Update
FS
FS
FS.Absolute
FS.Copy
FS.CreateDirectories
FS.Extension
FS.FileDialog
FS.Filename
FS.IsDirectory
FS.IsFile
FS.Iterate
FS.Join
FS.LastWriteTime
FS.Parent
FS.Read
FS.RelativeTo
FS.Remove
FS.RemoveAll
FS.Rename
FS.SaveFileDialog
FS.SetWriteTime
FS.Watch
FS.Write
GFX
GFX
GFX.Buffer
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.ReadBuffer
GFX.ReadTexture
GFX.Render
Macro Syntax Error
GFX.RenderTarget
GFX.RenderTargetTexture
GFX.Renderer
GFX.ResizeWindow
GFX.Texture
GFX.UIPass
GFX.UIScaleFactor
GFX.View
GFX.ViewMatrix
GFX.ViewProjectionMatrix
GFX.ViewRange
GFX.Viewport
GFX.WindowFocused
GFX.WindowInsets
GFX.WindowPosition
GFX.WindowSize
GFX.WriteBuffer
GFX.glTF
GLTF
GLTF
GLTF.PackGLB
GUI
GUI
General
General
Abs
Acos
Add
And
AppendTo
Asin
Assoc
Atan
Await
BigInt
BitSwap32
BitSwap64
Branch
Broadcast
Browse
BytesBuffer
BytesToInts
BytesToString
CaptureLog
Ceil
Clamp
Clear
Comment
Complete
Cond
Const
Consume
Convolve
Cos
Count
DShard
Dec
DecCounter
DegreesToRadians
DemultiplyAlpha
Detach
Div
Do
DoMany
Drop
DropFront
Env
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
Extend
Fail
FastSqrt
FillAlpha
First
Flatten
FloatsToImage
Floor
Flush
FlushLog
ForEach
ForRange
FreeCamera
FromBase58
FromBase64
FromBytes
FromJson
FromLEB128
Get
GetCounter
GetFlag
GetImagePixel
Hash
HexToBytes
Highest
If
ImageSize
ImageToBytes
ImageToFloats
Inc
IncCounter
IndexOf
Input
Insert
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
IsInt16
IsInt2
IsInt3
IsInt4
IsInt8
IsLess
IsLessEqual
IsMore
IsMoreEqual
IsNone
IsNot
IsNotNone
IsRunning
IsSeq
IsString
IsTable
IsTrue
IsValidNumber
IsWire
Isolate
Iterate
Last
LastError
Lerp
Limit
Listen
LoadImage
Log
LogType
Lowest
MakeColor
MakeFloat2
MakeFloat3
MakeFloat4
MakeInt16
MakeInt2
MakeInt3
MakeInt4
MakeInt8
MakeTrait
Map
Match
Max
Maybe
Memoize
Merge
Min
Msg
Mul
Mutant
NaNTo0
NanoID
Not
Once
Or
Output
Pack
ParseFloat
ParseInt
Pass
Pause
PauseMs
Peek
Percentile
Pop
PopFront
Pow
PremultiplyAlpha
PrependTo
Produce
Profile
PtrToString
Push
RLimit
RTake
RadiansToDegrees
RandomBytes
RandomFloat
RandomInt
ReadFile
Recur
Reduce
Ref
Remove
Repeat
Replace
ResizeImage
Restart
Resume
Return
Reverse
Sequence
Set
SetCounter
SetFlag
SetLogLevel
Shuffle
Sin
SleepBlocking!
Slice
Snowflake
Sort
Spawn
Sqrt
Step
Stop
StringToBytes
StripAlpha
Sub
SubFlow
Suspend
Swap
SwitchTo
Table
Take
Tan
TargetCamera
Tensor
ToAny
ToBase58
ToBase64
ToBytes
ToColor
ToFloat
ToFloat2
ToFloat3
ToFloat4
ToHex
ToInt
ToInt16
ToInt2
ToInt3
ToInt4
ToInt8
ToJson
ToLEB128
ToString
TraitId
TryMany
TypeOf
UI
UUID
Unpack
UnsafeActivate!
Update
VarAddr
VarPtr
Wait
When
WhenDone
WhenNot
WireRunner
WriteFile
WritePNG
Zip
_ExportStrings
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
Hash.XXH3-128
Hash.XXH3-64
Http
Http
Http.Chunk
Http.Delete
Http.Get
Http.Head
Http.Patch
Http.Post
Http.Put
Http.Read
Http.Response
Http.SendFile
Http.Server
Http.Stream
Inputs
Inputs
Inputs.DebugUI
Inputs.Detached
Inputs.GetContext
Inputs.HandleURL
Inputs.IsKeyDown
Inputs.KeyDown
Inputs.KeyUp
Inputs.MatchModifier
Inputs.MouseDelta
Inputs.MouseDown
Inputs.MousePixelPos
Inputs.MousePos
Inputs.MouseUp
Inputs.PixelSize
Inputs.Size
LLM
LLM
LLM.Context
LLM.Detokenize
LLM.Embed
LLM.Model
LLM.Tokenize
ML
ML
ML.Detokenize
ML.Forward
ML.Model
ML.Tokenizer
ML.Tokens
Markdown
Markdown
Markdown.FromHTML
Markdown.Parse
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.Compose
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.Percentile
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
Mnemonic
Mnemonic
Mnemonic.Generate
Mnemonic.ToSeed
Network
Network
Network.Broadcast
Network.Client
Network.Peer
Network.PeerID
Network.Send
Network.SendRaw
Network.Server
Network.WS.Client
Network.WS.Server
Physics
Physics
Physics.AngularVelocity
Physics.ApplyForce
Physics.ApplyForceAt
Physics.ApplyImpulse
Physics.Body
Physics.BoxShape
Physics.CapsuleShape
Physics.CenterOfMass
Physics.Collisions
Physics.Context
Physics.DebugDraw
Physics.DistanceConstraint
Physics.Dump
Physics.End
Physics.FixedConstraint
Physics.HullShape
Physics.InverseMass
Physics.LinearVelocity
Physics.Location
Physics.MotionType
Physics.Rotation
Physics.SetPose
Physics.SetVelocity
Physics.SliderConstraint
Physics.SoftBody
Physics.SoftBodyShape
Physics.SphereShape
Physics.WithContext
Process
Process
Process.Exe
Process.Run
Process.StackTrace
Random
Random
Random.Name
Reflect
Reflect
Reflect.Get
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.RefBuffer
Shader.RefSampler
Shader.RefTexture
Shader.SampleTexture
Shader.SampleTextureCoord
Shader.WithInput
Shader.WithTexture
Shader.WriteGlobal
Shader.WriteOutput
Shards
Shards
Shards.Distill
Shards.EnumTypeHelp
Shards.EnumTypes
Shards.Enumerate
Shards.Errors
Shards.Help
Shards.ObjectTypeHelp
Shards.ObjectTypes
Shards.Print
Shards.Read
Snappy
Snappy
Snappy.Compress
Snappy.Decompress
Sr25519
Sr25519
Sr25519.PublicKey
Sr25519.Sign
Sr25519.Verify
String
String
String.Contains
String.DecodeURI
String.EncodeURI
String.Ends
String.Format
String.Join
String.Split
String.Starts
String.ToLower
String.ToUpper
String.Trim
TargetCamera
TargetCamera
TargetCamera.FromLookAt
TargetCamera.Matrix
Tensor
Tensor
Tensor.Add
Tensor.Div
Tensor.MatMul
Tensor.Mul
Tensor.Pow
Tensor.Reshape
Tensor.Shape
Tensor.Slice
Tensor.Split
Tensor.Stack
Tensor.Sub
Tensor.Sum
Tensor.ToFloat
Tensor.ToFloats
Tensor.ToInts
Tensor.ToString
Tensor.Transpose
Tensor.ZerosLike
Time
Time
Time.Delta
Time.DeltaMs
Time.Epoch
Time.EpochLocal
Time.EpochLocalMs
Time.EpochMs
Time.MovingAverage
Time.Now
Time.NowMs
Time.ToString
Tracy
Tracy
Tracy.Message
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.Inspection
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.Settings
UI.Shards
UI.Sized
UI.Space
UI.Spinner
UI.Style
UI.SubArea
UI.Tab
UI.Table
UI.TextField
UI.Tooltip
UI.TopPanel
UI.Variable
UI.Vertical
UI.WidgetStyle
UI.Window
UUID
UUID
UUID.Convert
UUID.ToBytes
UUID.ToString
Wasm
Wasm
Wasm.Run
Yaml
Yaml
Yaml.FromJson
Yaml.ToJson
Callgrind
Callgrind
_Callgrind.Start
_Callgrind.Stop
Inputs
Inputs
_Inputs.DiscardTempFiles
Enums
Enums
Anchor
AstType
BPP
BindGroupId
BlendFactor
BlendOperation
BranchFailure
BufferAddressSpace
BuiltinFeatureId
BuiltinMeshType
ColorMask
CompareFunction
ConstraintSpace
DependencyType
FilterMode
FontFamily
IfExists
Interpolation
LayoutAlign
LayoutDirection
LayoutFrame
LogLevel
MLFormats
MLModels
MarkerShape
Mean
ModifierKey
Order
OrthographicSizeType
PhysicsDOF
PhysicsDebugShapeColor
PhysicsDebugSoftBodyConstraintColor
PhysicsMotion
PopupLocation
ProgrammableGraphicsStage
RequiredAttributes
RunWireMode
ScrollVisibility
ShaderFieldBaseType
ShaderLiteralType
SortMode
TensorType
TextStyle
TextWrap
TextureAddressing
TextureDimension
TextureFiltering
TextureFormat
TextureSampleType
TextureType
Type
UIProperty
WaitUntil
Waveform
WindingOrder
WindowFlags
Lisp
Lisp
Collections
Macros
Operators
Standard output
Strings
Values
Miscellaneous functions
Download
Download
Contribute
Contribute
Getting Started
Contributing changes
Code
Code
Build Shards
Run Shards
Docs
Docs
Start Documenting
Write Documentation
Wiki
Wiki
ModifierKey
¶
Value
Description
None
Shift
Alt
Primary
Secondary
Back to top