2021-05-06 15:35:56 -07:00
|
|
|
|
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [ActiveKeys](activekeys.md)
|
|
|
|
|
|
|
|
|
|
|
|
# Interface: ActiveKeys
|
|
|
|
|
|
|
|
|
|
|
|
## Hierarchy
|
|
|
|
|
|
|
|
|
|
|
|
* **ActiveKeys**
|
|
|
|
|
|
|
|
|
|
|
|
## Index
|
|
|
|
|
|
|
|
|
|
|
|
### Properties
|
|
|
|
|
|
|
|
|
|
|
|
* [0](activekeys.md#optional-0)
|
|
|
|
|
|
* [1](activekeys.md#optional-1)
|
|
|
|
|
|
* [2](activekeys.md#optional-2)
|
|
|
|
|
|
* [3](activekeys.md#optional-3)
|
|
|
|
|
|
* [4](activekeys.md#optional-4)
|
|
|
|
|
|
* [5](activekeys.md#optional-5)
|
|
|
|
|
|
* [6](activekeys.md#optional-6)
|
|
|
|
|
|
* [7](activekeys.md#optional-7)
|
|
|
|
|
|
* [8](activekeys.md#optional-8)
|
|
|
|
|
|
* [9](activekeys.md#optional-9)
|
|
|
|
|
|
* [A](activekeys.md#optional-a)
|
|
|
|
|
|
* [B](activekeys.md#optional-b)
|
|
|
|
|
|
* [C](activekeys.md#optional-c)
|
|
|
|
|
|
* [D](activekeys.md#optional-d)
|
|
|
|
|
|
* [E](activekeys.md#optional-e)
|
|
|
|
|
|
* [F](activekeys.md#optional-f)
|
|
|
|
|
|
* [G](activekeys.md#optional-g)
|
|
|
|
|
|
* [H](activekeys.md#optional-h)
|
|
|
|
|
|
* [I](activekeys.md#optional-i)
|
|
|
|
|
|
* [J](activekeys.md#optional-j)
|
|
|
|
|
|
* [K](activekeys.md#optional-k)
|
|
|
|
|
|
* [L](activekeys.md#optional-l)
|
|
|
|
|
|
* [M](activekeys.md#optional-m)
|
|
|
|
|
|
* [N](activekeys.md#optional-n)
|
|
|
|
|
|
* [O](activekeys.md#optional-o)
|
|
|
|
|
|
* [P](activekeys.md#optional-p)
|
|
|
|
|
|
* [Q](activekeys.md#optional-q)
|
|
|
|
|
|
* [R](activekeys.md#optional-r)
|
|
|
|
|
|
* [S](activekeys.md#optional-s)
|
|
|
|
|
|
* [T](activekeys.md#optional-t)
|
|
|
|
|
|
* [U](activekeys.md#optional-u)
|
|
|
|
|
|
* [V](activekeys.md#optional-v)
|
|
|
|
|
|
* [W](activekeys.md#optional-w)
|
|
|
|
|
|
* [X](activekeys.md#optional-x)
|
|
|
|
|
|
* [Y](activekeys.md#optional-y)
|
|
|
|
|
|
* [Z](activekeys.md#optional-z)
|
|
|
|
|
|
* [down](activekeys.md#optional-down)
|
|
|
|
|
|
* [fire](activekeys.md#optional-fire)
|
|
|
|
|
|
* [left](activekeys.md#optional-left)
|
|
|
|
|
|
* [right](activekeys.md#optional-right)
|
|
|
|
|
|
* [up](activekeys.md#optional-up)
|
|
|
|
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 0
|
|
|
|
|
|
|
|
|
|
|
|
• **0**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:13](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L13)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 1
|
|
|
|
|
|
|
|
|
|
|
|
• **1**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:14](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L14)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 2
|
|
|
|
|
|
|
|
|
|
|
|
• **2**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:15](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L15)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 3
|
|
|
|
|
|
|
|
|
|
|
|
• **3**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:16](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L16)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 4
|
|
|
|
|
|
|
|
|
|
|
|
• **4**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:17](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L17)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 5
|
|
|
|
|
|
|
|
|
|
|
|
• **5**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:18](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L18)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 6
|
|
|
|
|
|
|
|
|
|
|
|
• **6**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:19](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L19)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 7
|
|
|
|
|
|
|
|
|
|
|
|
• **7**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:20](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L20)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 8
|
|
|
|
|
|
|
|
|
|
|
|
• **8**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:21](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L21)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` 9
|
|
|
|
|
|
|
|
|
|
|
|
• **9**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:22](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L22)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` A
|
|
|
|
|
|
|
|
|
|
|
|
• **A**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:23](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L23)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` B
|
|
|
|
|
|
|
|
|
|
|
|
• **B**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:24](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L24)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` C
|
|
|
|
|
|
|
|
|
|
|
|
• **C**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:25](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L25)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` D
|
|
|
|
|
|
|
|
|
|
|
|
• **D**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:26](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L26)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` E
|
|
|
|
|
|
|
|
|
|
|
|
• **E**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:27](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L27)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` F
|
|
|
|
|
|
|
|
|
|
|
|
• **F**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:28](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L28)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` G
|
|
|
|
|
|
|
|
|
|
|
|
• **G**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:29](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L29)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` H
|
|
|
|
|
|
|
|
|
|
|
|
• **H**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:30](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L30)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` I
|
|
|
|
|
|
|
|
|
|
|
|
• **I**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:31](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L31)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` J
|
|
|
|
|
|
|
|
|
|
|
|
• **J**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:32](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L32)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` K
|
|
|
|
|
|
|
|
|
|
|
|
• **K**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:33](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L33)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` L
|
|
|
|
|
|
|
|
|
|
|
|
• **L**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:34](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L34)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` M
|
|
|
|
|
|
|
|
|
|
|
|
• **M**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:35](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L35)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` N
|
|
|
|
|
|
|
|
|
|
|
|
• **N**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:36](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L36)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` O
|
|
|
|
|
|
|
|
|
|
|
|
• **O**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:37](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L37)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` P
|
|
|
|
|
|
|
|
|
|
|
|
• **P**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:38](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L38)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` Q
|
|
|
|
|
|
|
|
|
|
|
|
• **Q**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:39](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L39)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` R
|
|
|
|
|
|
|
|
|
|
|
|
• **R**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:40](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L40)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` S
|
|
|
|
|
|
|
|
|
|
|
|
• **S**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:41](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L41)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` T
|
|
|
|
|
|
|
|
|
|
|
|
• **T**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:42](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L42)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` U
|
|
|
|
|
|
|
|
|
|
|
|
• **U**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:43](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L43)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` V
|
|
|
|
|
|
|
|
|
|
|
|
• **V**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:44](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L44)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` W
|
|
|
|
|
|
|
|
|
|
|
|
• **W**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:45](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L45)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` X
|
|
|
|
|
|
|
|
|
|
|
|
• **X**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:46](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L46)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` Y
|
|
|
|
|
|
|
|
|
|
|
|
• **Y**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:47](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L47)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` Z
|
|
|
|
|
|
|
|
|
|
|
|
• **Z**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:48](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L48)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` down
|
|
|
|
|
|
|
|
|
|
|
|
• **down**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:52](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L52)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` fire
|
|
|
|
|
|
|
|
|
|
|
|
• **fire**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:53](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L53)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` left
|
|
|
|
|
|
|
|
|
|
|
|
• **left**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:50](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L50)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` right
|
|
|
|
|
|
|
|
|
|
|
|
• **right**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:49](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L49)*
|
2021-05-06 15:35:56 -07:00
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
|
|
### `Optional` up
|
|
|
|
|
|
|
|
|
|
|
|
• **up**? : *boolean*
|
|
|
|
|
|
|
2021-05-11 18:30:36 -07:00
|
|
|
|
*Defined in [testbed/index.ts:51](https://github.com/shakiba/planck.js/blob/acc3bd8/testbed/index.ts#L51)*
|