# Simulate

[Physics 3D](../index.md) / [Physics](index.md) / **Simulate**

## Description

Executes the Simulate static method of the Physics class

## Parameters

| Name | Description |
| :--- | :---------- |
| Step |  |

## 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;

namespace VisualScript.Runtime
{
    [Title("Simulate")]
    [Category("Physics 3D/Physics/Simulate")]
    [Description("Executes the Simulate static method of the Physics class")]

    [Image(typeof(IconPhysics), ColorTheme.Type.Lime)]

    [Parameter("Step")]

    [Serializable]
    public class GenInstructionPhysics_Simulate_1 : Instruction
    {
        [SerializeField] private GetNumber m_Step = new GetNumber();

        protected override string GetTitle(GameObject source)
        {
            string className = TextUtils.ThemeAsKeyword("Physics");
            string method = TextUtils.ThemeAsKeyword("Simulate");
            return $"{className} {method} ({this.m_Step})";
        }

        protected override Awaitable Run(Args args)
        {
            Physics.Simulate(
                (float) this.m_Step.Get(args)
            );

            return Done;
        }
    }
}
```

