Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Arcade.Body
allowDrag: boolean
Description:
Whether this Body's velocity is affected by its
drag
.
Type:
boolean
Default:
true
Since:
3.0.0
Source:
src/physics/arcade/Body.js
(Line
325
)
Possible examples