# Seconds(float)

> Creates a second TimeValue from a float.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public static TimeValue Seconds(float value)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)):&#x20;

### Returns

| Type                                                                             | Description             |
| -------------------------------------------------------------------------------- | ----------------------- |
| [TimeValue](/engine/6000.7/script-reference/unityengine/uielements/timevalue.md) | The created time value. |
