代码拉取完成,页面将自动刷新
# Visual
**Description:**
  A class to represent a visual effect object like Particle, Frame Animation or just a Sprite.
**Class Object:** [Platformer.Visual Class](/docs/api/Class%20Object/Platformer/Visual).
**Inherits from:** [Node](/docs/api/Class/Node).
## playing
**Type:** Readonly Field.
**Description:**
  Whether the visual effect is currently playing or not.
**Signature:**
```tl
const playing: boolean
```
## start
**Type:** Function.
**Description:**
  Starts playing the visual effect.
**Signature:**
```tl
start: function(self: Visual)
```
## stop
**Type:** Function.
**Description:**
  Stops playing the visual effect.
**Signature:**
```tl
stop: function(self: Visual)
```
## autoRemove
**Type:** Function.
**Description:**
  Automatically removes the visual effect from the game world when it finishes playing.
**Signature:**
```tl
autoRemove: function(self: Visual): Visual
```
**Returns:**
| Return Type | Description |
| --- | --- |
| Visual | The same "Visual" object that was passed in as a parameter. |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。