FanScript Documentation Contents Looping BuildCommands EndHighlight Highlight Constants BLOCK BUTTON_TYPE JOYSTICK_TYPE MAX_ITEMS PRICE_INCREASE RANKING SOUND TOUCH_FINGER TOUCH_STATE Events BoxArt Button Collision LateUpdate Loop Play Swipe Touch Functions FcComment Get GetBlockById Inspect Set SetPtrValue SetRange ToRot ToVec Control Joystick Game GetAccelerometer GetCurrentFrame GetScreenSize GetScreenSize Lose MenuItem SetCamera SetLight SetScore ShopSection Win Math Abs AxisAngle Ceiling Cos Cross Dist Dot Floor Lerp Lerp Lerp LineVsPlane Log LookRotation Max Min Normalize Pow Random Round ScreenToWorld SetRandomSeed Sin WorldToScreen WorldToScreen Objects Clone Destroy GetObject GetObject GetPos GetSize Raycast SetPos SetPos SetVisible Physics AddConstraint AddForce AngularLimits AngularMotor AngularSpring GetVelocity LinearLimits LinearMotor LinearSpring SetBounciness SetFriction SetGravity SetLocked SetMass SetVelocity Sound PlaySound SetVolumePitch StopSound Modifiers Constant Global Inline Out Readonly Ref Saved Operators Binary Addition Division Equals Greater GreaterOrEquals Less LessOrEquals LogicalAnd LogicalOr Modulo Multiplication NotEquals Subtraction Unary Identity LogicalNegation Negation Types Array ArraySegment Bool Constr Float Null Obj Rot String Vec3