@rbxts/types 1.0.918 → 1.0.919
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/generated/None.d.ts +162 -4
- package/include/generated/PluginSecurity.d.ts +72 -76
- package/include/generated/enums.d.ts +1545 -1321
- package/package.json +1 -1
|
@@ -140,6 +140,7 @@ interface Services {
|
|
|
140
140
|
NetworkSettings: NetworkSettings;
|
|
141
141
|
OmniRecommendationsService: OmniRecommendationsService;
|
|
142
142
|
OpenCloudService: OpenCloudService;
|
|
143
|
+
Packages: Packages;
|
|
143
144
|
PackageService: PackageService;
|
|
144
145
|
PackageUIService: PackageUIService;
|
|
145
146
|
PartyEmulatorService: PartyEmulatorService;
|
|
@@ -9038,6 +9039,8 @@ interface NetworkSettings extends Instance {
|
|
|
9038
9039
|
*/
|
|
9039
9040
|
readonly FreeMemoryMBytes: number;
|
|
9040
9041
|
/**
|
|
9042
|
+
* Adds jitter to playtest connections in the server-to-client direction.
|
|
9043
|
+
*
|
|
9041
9044
|
* - **ThreadSafety**: ReadSafe
|
|
9042
9045
|
* - **Tags**: NotReplicated
|
|
9043
9046
|
*
|
|
@@ -9045,6 +9048,8 @@ interface NetworkSettings extends Instance {
|
|
|
9045
9048
|
*/
|
|
9046
9049
|
InboundNetworkJitterMs: number;
|
|
9047
9050
|
/**
|
|
9051
|
+
* Sets the probability that packets on playtest connections from server to client are dropped.
|
|
9052
|
+
*
|
|
9048
9053
|
* - **ThreadSafety**: ReadSafe
|
|
9049
9054
|
* - **Tags**: NotReplicated
|
|
9050
9055
|
*
|
|
@@ -9052,6 +9057,8 @@ interface NetworkSettings extends Instance {
|
|
|
9052
9057
|
*/
|
|
9053
9058
|
InboundNetworkLossPercent: number;
|
|
9054
9059
|
/**
|
|
9060
|
+
* Adds latency to playtest connections in the server-to-client direction.
|
|
9061
|
+
*
|
|
9055
9062
|
* - **ThreadSafety**: ReadSafe
|
|
9056
9063
|
* - **Tags**: NotReplicated
|
|
9057
9064
|
*
|
|
@@ -9059,6 +9066,8 @@ interface NetworkSettings extends Instance {
|
|
|
9059
9066
|
*/
|
|
9060
9067
|
InboundNetworkMinDelayMs: number;
|
|
9061
9068
|
/**
|
|
9069
|
+
* Adds jitter to playtest connections in the client-to-server direction.
|
|
9070
|
+
*
|
|
9062
9071
|
* - **ThreadSafety**: ReadSafe
|
|
9063
9072
|
* - **Tags**: NotReplicated
|
|
9064
9073
|
*
|
|
@@ -9066,6 +9075,8 @@ interface NetworkSettings extends Instance {
|
|
|
9066
9075
|
*/
|
|
9067
9076
|
OutboundNetworkJitterMs: number;
|
|
9068
9077
|
/**
|
|
9078
|
+
* Sets the probability that packets on playtest connections from client to server are dropped.
|
|
9079
|
+
*
|
|
9069
9080
|
* - **ThreadSafety**: ReadSafe
|
|
9070
9081
|
* - **Tags**: NotReplicated
|
|
9071
9082
|
*
|
|
@@ -9073,6 +9084,8 @@ interface NetworkSettings extends Instance {
|
|
|
9073
9084
|
*/
|
|
9074
9085
|
OutboundNetworkLossPercent: number;
|
|
9075
9086
|
/**
|
|
9087
|
+
* Adds latency to playtest connections in the client-to-server direction.
|
|
9088
|
+
*
|
|
9076
9089
|
* - **ThreadSafety**: ReadSafe
|
|
9077
9090
|
* - **Tags**: NotReplicated
|
|
9078
9091
|
*
|
|
@@ -9703,6 +9716,8 @@ interface Workspace extends WorldRoot {
|
|
|
9703
9716
|
*/
|
|
9704
9717
|
readonly _nominal_Workspace: unique symbol;
|
|
9705
9718
|
/**
|
|
9719
|
+
* Controls whether parts that fall below `Workspace.FallenPartsDestroyHeight` are automatically destroyed.
|
|
9720
|
+
*
|
|
9706
9721
|
* - **ThreadSafety**: ReadSafe
|
|
9707
9722
|
*
|
|
9708
9723
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Workspace#FallHeightEnabled)
|
|
@@ -9728,6 +9743,8 @@ interface Workspace extends WorldRoot {
|
|
|
9728
9743
|
*/
|
|
9729
9744
|
set InterpolationThrottling(value: Enum.InterpolationThrottlingMode);
|
|
9730
9745
|
/**
|
|
9746
|
+
* Sets the Luau type checking mode for scripts in the experience.
|
|
9747
|
+
*
|
|
9731
9748
|
* - **ThreadSafety**: ReadSafe
|
|
9732
9749
|
*
|
|
9733
9750
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Workspace#LuauTypeCheckMode)
|
|
@@ -9843,6 +9860,21 @@ interface PackageUIService extends Instance {
|
|
|
9843
9860
|
*/
|
|
9844
9861
|
readonly _nominal_PackageUIService: unique symbol;
|
|
9845
9862
|
}
|
|
9863
|
+
/**
|
|
9864
|
+
* - **Tags**: NotCreatable, Service
|
|
9865
|
+
*
|
|
9866
|
+
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Packages)
|
|
9867
|
+
*/
|
|
9868
|
+
interface Packages extends Instance {
|
|
9869
|
+
/**
|
|
9870
|
+
* **DO NOT USE!**
|
|
9871
|
+
*
|
|
9872
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
9873
|
+
* @hidden
|
|
9874
|
+
* @deprecated
|
|
9875
|
+
*/
|
|
9876
|
+
readonly _nominal_Packages: unique symbol;
|
|
9877
|
+
}
|
|
9846
9878
|
/**
|
|
9847
9879
|
* An abstract class for pages objects.
|
|
9848
9880
|
*
|
|
@@ -14112,6 +14144,8 @@ interface StudioDeviceEmulatorService extends Instance {
|
|
|
14112
14144
|
readonly _nominal_StudioDeviceEmulatorService: unique symbol;
|
|
14113
14145
|
}
|
|
14114
14146
|
/**
|
|
14147
|
+
* Service allowing you to control Studio's Device Simulator.
|
|
14148
|
+
*
|
|
14115
14149
|
* - **Tags**: NotCreatable, Service, NotReplicated
|
|
14116
14150
|
*
|
|
14117
14151
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService)
|
|
@@ -14130,6 +14164,9 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14130
14164
|
* - **Tags**: Yields
|
|
14131
14165
|
*
|
|
14132
14166
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#CreateDeviceAsync)
|
|
14167
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14168
|
+
* @param config
|
|
14169
|
+
* @returns string
|
|
14133
14170
|
*/
|
|
14134
14171
|
CreateDeviceAsync(this: StudioDeviceSimulatorService, config: object): string;
|
|
14135
14172
|
/**
|
|
@@ -14137,6 +14174,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14137
14174
|
* - **Tags**: Yields
|
|
14138
14175
|
*
|
|
14139
14176
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetDeviceAsync)
|
|
14177
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14178
|
+
* @returns string
|
|
14140
14179
|
*/
|
|
14141
14180
|
GetDeviceAsync(this: StudioDeviceSimulatorService): string;
|
|
14142
14181
|
/**
|
|
@@ -14144,6 +14183,9 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14144
14183
|
* - **Tags**: Yields
|
|
14145
14184
|
*
|
|
14146
14185
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetDeviceInfoAsync)
|
|
14186
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14187
|
+
* @param deviceId
|
|
14188
|
+
* @returns A dictionary containing the device configuration and passed to `CreateDeviceAsync` and `UpdateDeviceAsync`.
|
|
14147
14189
|
*/
|
|
14148
14190
|
GetDeviceInfoAsync(this: StudioDeviceSimulatorService, deviceId: string): object;
|
|
14149
14191
|
/**
|
|
@@ -14151,6 +14193,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14151
14193
|
* - **Tags**: Yields
|
|
14152
14194
|
*
|
|
14153
14195
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetDeviceListAsync)
|
|
14196
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14197
|
+
* @returns An array of device IDs.
|
|
14154
14198
|
*/
|
|
14155
14199
|
GetDeviceListAsync(this: StudioDeviceSimulatorService): Array<unknown>;
|
|
14156
14200
|
/**
|
|
@@ -14158,6 +14202,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14158
14202
|
* - **Tags**: Yields
|
|
14159
14203
|
*
|
|
14160
14204
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetOrientationAsync)
|
|
14205
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14206
|
+
* @returns ScreenOrientation
|
|
14161
14207
|
*/
|
|
14162
14208
|
GetOrientationAsync(this: StudioDeviceSimulatorService): Enum.ScreenOrientation;
|
|
14163
14209
|
/**
|
|
@@ -14165,6 +14211,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14165
14211
|
* - **Tags**: Yields
|
|
14166
14212
|
*
|
|
14167
14213
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetPixelDensityAsync)
|
|
14214
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14215
|
+
* @returns number
|
|
14168
14216
|
*/
|
|
14169
14217
|
GetPixelDensityAsync(this: StudioDeviceSimulatorService): number;
|
|
14170
14218
|
/**
|
|
@@ -14172,6 +14220,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14172
14220
|
* - **Tags**: Yields
|
|
14173
14221
|
*
|
|
14174
14222
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetResolutionAsync)
|
|
14223
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14224
|
+
* @returns Vector2
|
|
14175
14225
|
*/
|
|
14176
14226
|
GetResolutionAsync(this: StudioDeviceSimulatorService): Vector2;
|
|
14177
14227
|
/**
|
|
@@ -14179,6 +14229,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14179
14229
|
* - **Tags**: Yields
|
|
14180
14230
|
*
|
|
14181
14231
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#GetScalingModeAsync)
|
|
14232
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14233
|
+
* @returns DeviceSimulatorScalingMode
|
|
14182
14234
|
*/
|
|
14183
14235
|
GetScalingModeAsync(this: StudioDeviceSimulatorService): Enum.DeviceSimulatorScalingMode;
|
|
14184
14236
|
/**
|
|
@@ -14186,6 +14238,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14186
14238
|
* - **Tags**: Yields
|
|
14187
14239
|
*
|
|
14188
14240
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#RemoveDeviceAsync)
|
|
14241
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14242
|
+
* @param deviceId
|
|
14189
14243
|
*/
|
|
14190
14244
|
RemoveDeviceAsync(this: StudioDeviceSimulatorService, deviceId: string): void;
|
|
14191
14245
|
/**
|
|
@@ -14193,6 +14247,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14193
14247
|
* - **Tags**: Yields
|
|
14194
14248
|
*
|
|
14195
14249
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetDeviceAsync)
|
|
14250
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14251
|
+
* @param deviceId
|
|
14196
14252
|
*/
|
|
14197
14253
|
SetDeviceAsync(this: StudioDeviceSimulatorService, deviceId: string): void;
|
|
14198
14254
|
/**
|
|
@@ -14200,6 +14256,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14200
14256
|
* - **Tags**: Yields
|
|
14201
14257
|
*
|
|
14202
14258
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetOrientationAsync)
|
|
14259
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14260
|
+
* @param orientation
|
|
14203
14261
|
*/
|
|
14204
14262
|
SetOrientationAsync(this: StudioDeviceSimulatorService, orientation: CastsToEnum<Enum.ScreenOrientation>): void;
|
|
14205
14263
|
/**
|
|
@@ -14207,6 +14265,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14207
14265
|
* - **Tags**: Yields
|
|
14208
14266
|
*
|
|
14209
14267
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetPixelDensityAsync)
|
|
14268
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14269
|
+
* @param density
|
|
14210
14270
|
*/
|
|
14211
14271
|
SetPixelDensityAsync(this: StudioDeviceSimulatorService, density: number): void;
|
|
14212
14272
|
/**
|
|
@@ -14214,6 +14274,9 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14214
14274
|
* - **Tags**: Yields
|
|
14215
14275
|
*
|
|
14216
14276
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetResolutionAsync)
|
|
14277
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14278
|
+
* @param width
|
|
14279
|
+
* @param height
|
|
14217
14280
|
*/
|
|
14218
14281
|
SetResolutionAsync(this: StudioDeviceSimulatorService, width: number, height: number): void;
|
|
14219
14282
|
/**
|
|
@@ -14221,6 +14284,8 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14221
14284
|
* - **Tags**: Yields
|
|
14222
14285
|
*
|
|
14223
14286
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#SetScalingModeAsync)
|
|
14287
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14288
|
+
* @param mode
|
|
14224
14289
|
*/
|
|
14225
14290
|
SetScalingModeAsync(this: StudioDeviceSimulatorService, mode: CastsToEnum<Enum.DeviceSimulatorScalingMode>): void;
|
|
14226
14291
|
/**
|
|
@@ -14228,6 +14293,7 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14228
14293
|
* - **Tags**: Yields
|
|
14229
14294
|
*
|
|
14230
14295
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#StopSimulationAsync)
|
|
14296
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14231
14297
|
*/
|
|
14232
14298
|
StopSimulationAsync(this: StudioDeviceSimulatorService): void;
|
|
14233
14299
|
/**
|
|
@@ -14235,6 +14301,9 @@ interface StudioDeviceSimulatorService extends Instance {
|
|
|
14235
14301
|
* - **Tags**: Yields
|
|
14236
14302
|
*
|
|
14237
14303
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioDeviceSimulatorService#UpdateDeviceAsync)
|
|
14304
|
+
* @param this Service allowing you to control Studio's Device Simulator.
|
|
14305
|
+
* @param deviceId
|
|
14306
|
+
* @param config
|
|
14238
14307
|
*/
|
|
14239
14308
|
UpdateDeviceAsync(this: StudioDeviceSimulatorService, deviceId: string, config: object): void;
|
|
14240
14309
|
/**
|
|
@@ -14520,6 +14589,9 @@ interface StudioTestService extends Instance {
|
|
|
14520
14589
|
* - **Tags**: Yields
|
|
14521
14590
|
*
|
|
14522
14591
|
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/StudioTestService#ExecuteMultiplayerTestAsync)
|
|
14592
|
+
* @param this Service allowing plugins to automate and customize Test and Run mode testing.
|
|
14593
|
+
* @param numPlayers
|
|
14594
|
+
* @param args
|
|
14523
14595
|
*/
|
|
14524
14596
|
ExecuteMultiplayerTestAsync(this: StudioTestService, numPlayers: number, args: unknown): unknown;
|
|
14525
14597
|
/**
|
|
@@ -16114,16 +16186,6 @@ interface UserInputService extends Instance {
|
|
|
16114
16186
|
* @deprecated
|
|
16115
16187
|
*/
|
|
16116
16188
|
readonly _nominal_UserInputService: unique symbol;
|
|
16117
|
-
/**
|
|
16118
|
-
* Creates a `VirtualInput` object that a Studio plugin can use to simulate mouse, keyboard, and pointer input.
|
|
16119
|
-
*
|
|
16120
|
-
* - **ThreadSafety**: Unsafe
|
|
16121
|
-
*
|
|
16122
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/UserInputService#CreateVirtualInput)
|
|
16123
|
-
* @param this `UserInputService` is primarily used to detect the input types available on a user's device, as well as detect input events.
|
|
16124
|
-
* @returns A new `VirtualInput` object, or `nil` if the feature is not available.
|
|
16125
|
-
*/
|
|
16126
|
-
CreateVirtualInput(this: UserInputService): RBXObject;
|
|
16127
16189
|
}
|
|
16128
16190
|
/**
|
|
16129
16191
|
* A service that handles queries regarding users on the Roblox platform.
|
|
@@ -16912,72 +16974,6 @@ interface VirtualInput extends RBXObject {
|
|
|
16912
16974
|
* @deprecated
|
|
16913
16975
|
*/
|
|
16914
16976
|
readonly _nominal_VirtualInput: unique symbol;
|
|
16915
|
-
/**
|
|
16916
|
-
* Injects a keyboard key press or release event.
|
|
16917
|
-
*
|
|
16918
|
-
* - **ThreadSafety**: Unsafe
|
|
16919
|
-
*
|
|
16920
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendKey)
|
|
16921
|
-
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16922
|
-
* @param isPressed Whether to simulate a key press (`true`) or a key release (`false`).
|
|
16923
|
-
* @param keyCode The `KeyCode` of the key to inject.
|
|
16924
|
-
* @param isRepeatedKey Whether this is an auto-repeat event, as occurs when a key is held down. Only valid for text-manipulation keys such as `KeyCode.Backspace`, `KeyCode.Delete`, and the arrow keys. Defaults to `false`.
|
|
16925
|
-
*/
|
|
16926
|
-
SendKey(this: VirtualInput, isPressed: boolean, keyCode: CastsToEnum<Enum.KeyCode>, isRepeatedKey?: boolean): void;
|
|
16927
|
-
/**
|
|
16928
|
-
* Injects a mouse button press or release event at the specified screen position.
|
|
16929
|
-
*
|
|
16930
|
-
* - **ThreadSafety**: Unsafe
|
|
16931
|
-
*
|
|
16932
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMouseButton)
|
|
16933
|
-
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16934
|
-
* @param position The screen-space position in pixels at which to inject the event.
|
|
16935
|
-
* @param button The mouse button to use. Supported values are `UserInputType.MouseButton1`, `UserInputType.MouseButton2`, and `UserInputType.MouseButton3`.
|
|
16936
|
-
* @param isDown Whether to simulate a button press (`true`) or a button release (`false`).
|
|
16937
|
-
* @param repeatCount The consecutive-click count for multi-click detection, such as a double- or triple-click. Defaults to `0`.
|
|
16938
|
-
*/
|
|
16939
|
-
SendMouseButton(this: VirtualInput, position: Vector2, button: CastsToEnum<Enum.UserInputType>, isDown: boolean, repeatCount?: number): void;
|
|
16940
|
-
/**
|
|
16941
|
-
* Injects a relative mouse movement event. Only works while the player's cursor is locked.
|
|
16942
|
-
*
|
|
16943
|
-
* - **ThreadSafety**: Unsafe
|
|
16944
|
-
*
|
|
16945
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMouseDelta)
|
|
16946
|
-
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16947
|
-
* @param positionDelta The relative mouse movement in pixels along each axis.
|
|
16948
|
-
*/
|
|
16949
|
-
SendMouseDelta(this: VirtualInput, positionDelta: Vector2): void;
|
|
16950
|
-
/**
|
|
16951
|
-
* Moves the virtual mouse cursor to the specified absolute screen position.
|
|
16952
|
-
*
|
|
16953
|
-
* - **ThreadSafety**: Unsafe
|
|
16954
|
-
*
|
|
16955
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendMousePosition)
|
|
16956
|
-
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16957
|
-
* @param position The target screen-space position in pixels.
|
|
16958
|
-
*/
|
|
16959
|
-
SendMousePosition(this: VirtualInput, position: Vector2): void;
|
|
16960
|
-
/**
|
|
16961
|
-
* Injects a scroll wheel, trackpad pan, or pinch gesture event at the specified screen position.
|
|
16962
|
-
*
|
|
16963
|
-
* - **ThreadSafety**: Unsafe
|
|
16964
|
-
*
|
|
16965
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendPointerAction)
|
|
16966
|
-
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16967
|
-
* @param position The screen-space position in pixels at which to inject the event.
|
|
16968
|
-
* @param pointerAction A dictionary describing the pointer action to inject. Accepted keys are `Wheel` (number), `Pan` (`Vector2`), and `Pinch` (number). At least one key must have a non-zero value.
|
|
16969
|
-
*/
|
|
16970
|
-
SendPointerAction(this: VirtualInput, position: Vector2, pointerAction: object): void;
|
|
16971
|
-
/**
|
|
16972
|
-
* Injects a text input event as if the specified string was typed on a keyboard.
|
|
16973
|
-
*
|
|
16974
|
-
* - **ThreadSafety**: Unsafe
|
|
16975
|
-
*
|
|
16976
|
-
* [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/VirtualInput#SendTextInput)
|
|
16977
|
-
* @param this Allows Studio plugins to simulate mouse, keyboard, and pointer input as if it were performed by a real player.
|
|
16978
|
-
* @param text The string to inject as text input.
|
|
16979
|
-
*/
|
|
16980
|
-
SendTextInput(this: VirtualInput, text: string): void;
|
|
16981
16977
|
}
|
|
16982
16978
|
/**
|
|
16983
16979
|
* - **Tags**: NotCreatable, NotReplicated
|