SurfaceInput (Property): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{CatUp|Properties}}
{{CatUp|Properties}}
 
'''This property is a summary of 6 different properties that perform the same action. They are ''BackSurfaceInput'', ''BottomSurfaceInput'', ''FrontSurfaceInput'', ''LeftSurfaceInput'', ''RightSurfaceInput'', and ''TopSurfaceInput''.'''
'''This property is a summery of 6 different properties that perform the same action. They are ''BackSurfaceInput'', ''BottomSurfaceInput'', ''FrontSurfaceInput'', ''LeftSurfaceInput'', ''RightSurfaceInput'', and ''TopSurfaceInput''.'''
 
 
{{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>
 
 


{| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 1px solid #f00;"
{| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 1px solid #f00;"

Latest revision as of 22:23, 23 September 2021

This property is a summary 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