---
tags:
    - "UI, User, Interface"
---

# Input Field Move Text End

[UI](../../index.md) / [Interaction](../index.md) / [Input Field](index.md) / **Input Field Move Text End**

## Description

Executes the Move Text End method on the Input Field component

## Parameters

| Name | Description |
| :--- | :---------- |
| Shift |  |

## Code

```cs
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;
using UnityEngine.UI;

namespace VisualScript.Runtime
{
    [Title("Input Field Move Text End")]
    [Category("UI/Interaction/Input Field/Move Text End")]
    [Description("Executes the Move Text End method on the Input Field component")]
    
    [Image(typeof(IconUIInputField), ColorTheme.Type.TextLight)]
    [Keywords("UI, User, Interface")]
    
    [Parameter("Shift")]
    
    [Serializable]
    public class GenInstructionInputField_MoveTextEnd_1 : Instruction
    {
        [SerializeField] private GetGameObject m_InputField = new GetGameObject(
            new GenTypeGameObject_InputField()
        );
        
        [SerializeField] private GetBool m_Shift = new GetBool();
        
        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Move Text End");
            return $"{this.m_InputField} {method} ({this.m_Shift})";
        }
        
        protected override Awaitable Run(Args args)
        {
            InputField component = this.m_InputField.Get<InputField>(args);
            if (component == null) return Done;
            
            component.MoveTextEnd(
                (bool) this.m_Shift.Get(args)
            );
            
            return Done;
        }
    }
}


```

