| 書式 | Entity.メソッド |
| Entity.プロパティ | |
| 機能 | Entityオブジェクト(マップ)の機能を設定、取得する |
| プロパティ | 値 |
|---|---|
| backgroundColor | Entityの背景色 |
| buttonMode | Entityにボタンの機能を設定する |
| buttonPressed | Entityが押されているかどうか |
| compositeOperation | Entityを描画する際の合成処理を設定する |
| height | Entityの高さ |
| opacity | Entityの透明度 |
| originX | 回転・拡大縮小の基準点のx座標 |
| originY | 回転・拡大縮小の基準点のy座標 |
| rotation | スプライトの回転角(度数法) |
| scaleX | スプライトのx軸方向の倍率 |
| scaleY | スプライトのy軸方向の倍率 |
| touchEnabled | Entityのタッチを有効にするかどうかを指定する |
| visible | Entityの可視 |
| width | Entityの横幅 |
| メソッド([]内は任意引数) | 機能 |
|---|---|
| disableCollection() | インスタンスをコレクションの対象から除外する |
| enableCollection() | インスタンスをコレクションの対象にする |
| intersect(他のエンティティ) | Entityの衝突判定 |
| rotate(deg) | スプライトを回転する |
| scale(x, y) | スプライトを拡大縮小する |
| within(他のエンティティ, 距離) | 中心点間の距離(ピクセル単位)でEntityの衝突判定を行う |