Tribot-Scripting-SDK
/
org.tribot.script.sdk.input
/
Keyboard
/
HoldAction
Hold
Action
public class
HoldAction
Content copied to clipboard
Represents a key hold configuration
Types
Functions
Types
Key
Link copied to clipboard
public enum
Key
Content copied to clipboard
Represents a key that can be held.
KeyHoldContext
Link copied to clipboard
public class
KeyHoldContext
Content copied to clipboard
Represents the context of a current key hold action.
Functions
key
Link copied to clipboard
Keyboard.HoldAction
key
(char key)
Content copied to clipboard
Specifies the key to use for this hold action
Keyboard.HoldAction
key
(
Keyboard.HoldAction.Key
key)
Content copied to clipboard
Specifies the key to use for this hold action
Keyboard.HoldAction
key
(char key, int keyCode)
Content copied to clipboard
Specifies the key and keyCode to use for this hold action
presses
Link copied to clipboard
Keyboard.HoldAction
presses
(int presses)
Content copied to clipboard
Specifies this hold action should press the key the specified amount of times.
start
Link copied to clipboard
Keyboard.HoldAction.KeyHoldContext
start
()
Content copied to clipboard
Starts this hold action.
timeout
Link copied to clipboard
Keyboard.HoldAction
timeout
(long timeout)
Content copied to clipboard
Specifies this hold action should execute for a maximum amount of time.
until
Link copied to clipboard
Keyboard.HoldAction
until
(
BooleanSupplier
stopCondition)
Content copied to clipboard
Specifies a stop condition for this hold action.