---
title: "Layer Controls"
url: "https://help.maxon.net/c4d/en-us/Content/html/FLFORMULA-FLBASE.html"
section_path: "Create Menu > Field > Modifier layers > Formula > Layer Controls"
element_id: "FLFORMULA"
group_id: "FLBASE"
description: "Here you can enter a formula that can contain the variables described below."
---

## Layer Controls

### Formula

Parameter ID: `FORMULAFIELDLAYER_STRING`

Here you can enter a formula that can contain the variables described below.

These variables (that can contain a respective value for each clone, point, etc.) can be used within a given formula. Note that not every variable works with every object. If you have a Deformer in a Field list, for example, no color value or angle is available (contrary to clones, individual object points do not have an orientation or scale).

![Image: subgroup.gif](https://help.maxon.net/c4d/en-us/Content/Resources/Images/subgroup.gif)\
Variables

### r,g,b - Color

Parameter ID: `FORMULAFIELDLAYER_HELP01`

These are the RGB values of the Layers above in the list.

### px,py,pz - Position

Parameter ID: `FORMULAFIELDLAYER_HELP02`

X, Y and Z coordinates.

### rx,ry,rz - Rotation

Parameter ID: `FORMULAFIELDLAYER_HELP03`

Rotation for each dimension.

### sx,sy,sz - Scale

Parameter ID: `FORMULAFIELDLAYER_HELP04`

Scale for each dimension.

### u,v,w - UVW

Parameter ID: `FORMULAFIELDLAYER_HELP05`

Use this variable if UV coordinates should be taken into consideration by the formula (see [About UVW Mapping in MoGraph](https://help.maxon.net/c4d/en-us/Content/html/7443.html.md) for more information about UV distribution in MoGraph objects).

### id - Component Index

Parameter ID: `FORMULAFIELDLAYER_HELP06`

The unique index number for each object (polygon objects, for example, have the point index shown in the Structure Manager; clones have the index that can be displayed using the [Display](https://help.maxon.net/c4d/en-us/Content/html/OMOGRAPH_MATRIX-ID_MG_TRANSFORM_GROUPTRANSFORM.html.md) mode).

### count - Component Count

Parameter ID: `FORMULAFIELDLAYER_HELP07`

Compnent count.

### subfields - The existing falloff weight value to modify

Parameter ID: `FORMULAFIELDLAYER_HELP08`

The falloff values made available by the Layers above in the list..

### t,d - Time, Delta Time

Parameter ID: `FORMULAFIELDLAYER_TIME` · Range: [-∞..+∞%]

The animation time, i.e., if this variable is included in a formula, it will automatically be animated. A slider is available for this setting as a multiplier.

### f - Frequency

Parameter ID: `FORMULAFIELDLAYER_FREQ` · Range: [-∞..+∞]

The frequency. A slider is available for this setting as a multiplier.

A list of possible formulas can be found [here](https://help.maxon.net/c4d/en-us/Content/html/6194.html.md).
