# inPlaceEditingBehavior

> Controls the in-place editing behavior for text input fields.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static TouchScreenKeyboard.InPlaceEditingBehavior inPlaceEditingBehavior { get; set; }
```

### Remarks

In-place editing allows users to select or modify text in an input field without displaying the on-screen keyboard. Use this property to control on-screen keyboard visibility when editing text in input fields. For example, set this property to `InPlaceEditingBehavior.AlwaysDisallowed` to always display the on-screen keyboard.

**Android:** Unity automatically enables in-place editing and hides the on-screen keyboard if it detects any physical keyboard.

The following code example demonstrates how to disable in-place editing and display the on-screen keyboard.

### Examples

```csharp
using UnityEngine;

public class ExampleClass : MonoBehaviour
{
    void Start()
    {
        TouchScreenKeyboard.inPlaceEditingBehavior = TouchScreenKeyboard.InPlaceEditingBehavior.AlwaysDisallowed;
    }
}
```
