---
title: How to modify the behavior of the layout component?
description: "## In Editor To define the component's behavior, you must specify the **Layout Component Logic** class that will be used to process the inputs. Several classes are integrated into the plugin that cover the vast majority of use cases, but…"
url: "https://www.lostingamestudio.com/documentation/touch-interface-designer/tutorial/how-to-modify-the-behavior-of-the-layout-component/"
updated: "2025-12-15"
category: Examples / Tutorial
---

# How to modify the behavior of the layout component?

## In Editor

To define the component's behavior, you must specify the **Layout Component Logic** class that will be used to process the inputs. Several classes are integrated into the plugin that cover the vast majority of use cases, but you can also create your own. For more information, see the [Layout Component Logic](https://www.lostingamestudio.com/documentation/touch-interface-designer/layout-component-logic/) category.

Select a layout component and, in the details panel, go to the Input category. There is a property named **Logic** where you can select the class you want to use. For example, for a simple button, select ***Button Logic***. Since this class is auto-instantiated, the details panel displays the class details. You can therefore easily and quickly configure the behavior of your layout component.

## At Runtime

Simply use the node ***Set Logic*** in layout component class and fill the **New Logic Class** input.

![](https://www.lostingamestudio.com/wp-content/uploads/2025/12/ModifyBehavior.png)
