SurfaceInput (Property): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 5: Line 5:


{{Property|
{{Property|
name = SurfaceInput
name = (side)SurfaceInput
|property = [[Enum]] ''SurfaceInput''
|property = [[InputType (Enum)|InputType]] ''(side)SurfaceInput''
|description = Sets what the surface's input is.
|description = Sets what the surface's input is.
|object = [[GBX.lua.FlagStand (Object)|Flagstand]], [[GBX.lua.Part (Object)|Part]], [[GBX.lua.Seat (Object)|Seat]], [[GBX.lua.SpawnLocation (Object)|SpawnLocation]]
|object     = [[GBX.lua.BasePart (Object)|BasePart]]
|}}
}}</onlyinclude>





Revision as of 13:48, 20 September 2021


This property is a summery of 6 different properties that perform the same action. They are BackSurfaceInput, BottomSurfaceInput, FrontSurfaceInput, LeftSurfaceInput, RightSurfaceInput, and TopSurfaceInput.


Property
Name (side)SurfaceInput
Property InputType (side)SurfaceInput
Description: Sets what the surface's input is.
In Object: BasePart



The InputType Enum controls the SurfaceInput of the object Part. It holds 13 values:
Enum Name Description
0 NoInput
1 LeftTread
2 RightTread
3 Steer
4 Throttle
5 (unused)
6 UpDown
7 Action1
8 Action2
9 Action3
10 Action4
11 Action5
12 Constant
13 Sin