# llDeleteCharacter

*LSL function*

```lsl
void llDeleteCharacter();
```

- Energy: 10

Converts the linkset back to a standard physical object, removing all pathfinding properties.

Convert the object back to a standard object, removing all pathfinding properties.

```lsl title="How to use" frame="terminal"
llDeleteCharacter();
```

## Examples

<details open>
<summary>Example 1</summary>

```lsl collapse={7-23}
create_character()
{
//  Clear any previous character behaviors
    llDeleteCharacter();

//  default speed is 20
    llCreateCharacter([CHARACTER_DESIRED_SPEED, 10.0]);
    llWanderWithin(llGetPos(), <10.0, 10.0, 2.0>, []);
}

default
{
    on_rez(integer start_param)
    {
        llResetScript();
    }

    state_entry()
    {
        create_character();
    }

    touch_start(integer num_detected)
    {
    //  Clear any previous character behaviors
        llDeleteCharacter();
    }
}
```

</details>

## History

Date of Release [31/07/2012](https://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Server/12#12-07-31-262785)

## See also

### Functions

- [llCreateCharacter](/functions/llCreateCharacter/)
- [llDeleteCharacter](/functions/llDeleteCharacter/)
- [llEvade](/functions/llEvade/)
- [llExecCharacterCmd](/functions/llExecCharacterCmd/)
- [llGetClosestNavPoint](/functions/llGetClosestNavPoint/)
- [llFleeFrom](/functions/llFleeFrom/)
- [llNavigateTo](/functions/llNavigateTo/)
- [llPatrolPoints](/functions/llPatrolPoints/)
- [llPursue](/functions/llPursue/)
- [llUpdateCharacter](/functions/llUpdateCharacter/)
- [llWanderWithin](/functions/llWanderWithin/)

### Events

- [path_update](/events/path_update/)

---

*Source: [LlDeleteCharacter](https://wiki.secondlife.com/wiki/LlDeleteCharacter) on the Second Life Wiki. Content from the Second Life Wiki article LlDeleteCharacter (revision 1215190, 2023-10-28), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/functions/llDeleteCharacter/
