> For the complete documentation index, see [llms.txt](https://docs.moddingofisaac.com/ab_p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moddingofisaac.com/ab_p/beta/docs/entityprojectile.md).

# Class "EntityProjectile"

## Functions

### AddChangeFlags () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### void AddChangeFlags ( int Flags ) {: .copyable aria-label='Functions' }

See [ChangeFlags](/ab_p/beta/docs/entityprojectile.md#ChangeFlags).

### AddFallingAccel () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### void AddFallingAccel ( float Value ) {: .copyable aria-label='Functions' }

### AddFallingSpeed () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### void AddFallingSpeed ( float Value ) {: .copyable aria-label='Functions' }

### AddHeight () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### void AddHeight ( float Value ) {: .copyable aria-label='Functions' }

### AddProjectileFlags () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### void AddProjectileFlags ( int Flags ) {: .copyable aria-label='Functions' }

Uses [ProjectileFlags](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ProjectileFlags/README.md) to define the projectile attributes.

### AddScale () {: aria-label='Functions' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### void AddScale ( float Value ) {: .copyable aria-label='Functions' }

## Variables

### Acceleration {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float Acceleration  {: .copyable aria-label='Variables' }

### ChangeFlags {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### int ChangeFlags  {: .copyable aria-label='Variables' }

Uses [ProjectileFlags](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ProjectileFlags/README.md) to define the projectile attributes after the "Changed" state was activated. The [ProjectileFlag](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ProjectileFlags/README.md).CHANGE\_FLAGS\_AFTER\_TIMEOUT needs to be set to allow for this change to apply!

**Informations about "Changed" State:**

Projectiles can have two states: normal (default) and changed.

Changed state activates when projectile's frame count reaches the value set in [ChangeTimeout](/ab_p/beta/docs/entityprojectile.md#ChangeTimeout). After that its flags get changed to what was set in [ChangeFlags](/ab_p/beta/docs/entityprojectile.md#ChangeFlags) and velocity will be resized to length set in [ChangeVelocity](/ab_p/beta/docs/entityprojectile.md#ChangeVelocity).

Also used in: [ProjectileParams()](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/ProjectileParams/README.md)

### ChangeTimeout {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### int ChangeTimeout  {: .copyable aria-label='Variables' }

Number of frames that need to elapse after spawn till the "Changed" state is activated. The [ProjectileFlags](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ProjectileFlags/README.md).CHANGE\_FLAGS\_AFTER\_TIMEOUT or CHANGE\_VELOCITY\_AFTER\_TIMEOUT need to be set to allow for this change to apply!

**Informations about "Changed" State:**

Projectiles can have two states: normal (default) and changed.

Changed state activates when projectile's frame count reaches the value set in [ChangeTimeout](/ab_p/beta/docs/entityprojectile.md#ChangeTimeout). After that its flags get changed to what was set in [ChangeFlags](/ab_p/beta/docs/entityprojectile.md#ChangeFlags) and velocity will be resized to length set in [ChangeVelocity](/ab_p/beta/docs/entityprojectile.md#ChangeVelocity).

Also used in: [ProjectileParams()](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/ProjectileParams/README.md)

### ChangeVelocity {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float ChangeVelocity  {: .copyable aria-label='Variables' }

Velocity value that gets applied when the "Changed" state is activated. The [ProjectileFlag](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ProjectileFlags/README.md).CHANGE\_VELOCITY\_AFTER\_TIMEOUT need to be set to allow for this change to apply!

**Informations about "Changed" State:**

Projectiles can have two states: normal (default) and changed.

Changed state activates when projectile's frame count reaches the value set in [ChangeTimeout](/ab_p/beta/docs/entityprojectile.md#ChangeTimeout). After that its flags get changed to what was set in [ChangeFlags](/ab_p/beta/docs/entityprojectile.md#ChangeFlags) and velocity will be resized to length set in [ChangeVelocity](/ab_p/beta/docs/entityprojectile.md#ChangeVelocity).

Also used in: [ProjectileParams()](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/ProjectileParams/README.md)

### CurvingStrength {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float CurvingStrength  {: .copyable aria-label='Variables' }

### Damage {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float Damage  {: .copyable aria-label='Variables' }

### DepthOffset {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float DepthOffset  {: .copyable aria-label='Variables' }

### FallingAccel {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float FallingAccel  {: .copyable aria-label='Variables' }

### FallingSpeed {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float FallingSpeed  {: .copyable aria-label='Variables' }

### Height {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float Height  {: .copyable aria-label='Variables' }

Defines the height of a projectile. Height should be a negative value. Default is `:::lua -23`.

### HomingStrength {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float HomingStrength  {: .copyable aria-label='Variables' }

### [ProjectileFlags](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ProjectileFlags/README.md) {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### int [ProjectileFlags](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ProjectileFlags/README.md)  {: .copyable aria-label='Variables' }

Uses [ProjectileFlags](https://github.com/wofsauge/IsaacDocs/tree/420a6aaa54ea230461fb26e61297c068492684de/beta/enums/ProjectileFlags/README.md) to define the projectile attributes.

### Scale {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### float Scale  {: .copyable aria-label='Variables' }

### WiggleFrameOffset {: aria-label='Variables' }

[ ](/ab_p/beta/docs/entityprojectile.md){: .abp .tooltip .badge }

#### int WiggleFrameOffset  {: .copyable aria-label='Variables' }
