> 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/entityknife.md).

# Class "EntityKnife"

## Functions

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

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

#### float GetKnifeDistance ( ) {: .copyable aria-label='Functions' }

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

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

#### float GetKnifeVelocity ( ) {: .copyable aria-label='Functions' }

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

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

#### int GetRenderZ ( ) {: .copyable aria-label='Functions' }

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

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

#### boolean IsFlying ( ) {: .copyable aria-label='Functions' }

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

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

#### void Reset ( ) {: .copyable aria-label='Functions' }

Used for master knifes, to get back to player.

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

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

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

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

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

#### void Shoot ( float Charge, float Range ) {: .copyable aria-label='Functions' }

## Variables

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

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

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

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

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

#### boolean IsFlying  {: .copyable aria-label='Variables' }

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

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

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

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

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

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

Unit speed of path moving knifes.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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