/aimassist
< Commands
/aimassist| Permission level required |
1 |
|---|---|
| Restrictions |
Cheat only |
{
"title": "<code>/aimassist</code>",
"rows": [
{
"field": "1",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "(link to Option article, displayed as Cheat) only<br>",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Modifies player's aim assist.
Syntax
aimassist <players: target> clear- Clears the aim assist.
aimassist <players: target> set [x angle: float] [y angle: float] [max distance: float] [target mode: AimAssistTargetMode] [preset id: string]- Sets the aim assist.
Arguments
players: target: CommandSelector<Player>
- Specifies the player that the aim assist will be modified.
- Must be a player name or a target selector.
x angle: float: float
- Specifies the X-axis angle, defaults to 50.
- Must be a [Float]Single-precision floating-point number (from -(2-2-23)×2127 (≈-3.4×1038) to (2-2-23)2×127 (≈3.4×1038) ). And must be between 10 and 90 (inclusive).
y angle: float: float
- Specifies the Y-axis angle, defaults to 50.
- Must be a [Float]Single-precision floating-point number (from -(2-2-23)×2127 (≈-3.4×1038) to (2-2-23)2×127 (≈3.4×1038) ). And must be between 10 and 90 (inclusive).
max distance: float: float
- Specifies the max distance, defaults to 8.
- Must be a [Float]Single-precision floating-point number (from -(2-2-23)×2127 (≈-3.4×1038) to (2-2-23)2×127 (≈3.4×1038) ). And must be between 1 and 16 (inclusive).
target mode: AimAssistTargetMode: enum
- Specifies the aim mode, defaults to
angle. Must be one of the following:angle— Angledistance— Distance
preset id: string: basic_string
- Specifies the preset ID.
- Must be a string. And it must be a single word that has no space or a double-quoted string (When quoted,
\can be used to escape characters).
Result
| Command | Trigger | Bedrock Edition |
|---|---|---|
| Any | The command is incomplete, or any argument is not specified correctly | Unparseable |
players: target fails to resolve to one or more online players | Failed | |
| Otherwise | Successful |
History
| Bedrock Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.21.50 Experiment | Preview 1.21.50.25 | Added /aimassist behind the "Aim Assist" experimental toggle. | |||||