For loop going based off of Time.deltatime?

how would i make my for loop go based of of seconds?

for example i did this but its not turning out right
( i am trying to transform a button to a certain point on the screen from a previous point)

var monsterOneRight : float = 100.0;
var monsterTwoRight : float = 150.0;

var moveRight_Speed : float = 2.0;
var actualRight : float;

var towerOneLeft : float = 100.0;
var towerTwoLeft : float = 150.0;

var moveLeft_Speed : float = -50.00;
var actualLeft : float;

var showMonsterButtons : boolean = false;
var showTowerButtons : boolean = false;

function Update () {

	if (showMonsterButtons == true)
		for(var i: float =0; i<=1000; i += (moveRight_Speed * Time.deltaTime))
			Debug.Log(i);
			if(i == monsterOneRight){
				monsterOneRight = i;
				}

You’re in the right path:

for (var i:float = 0; i <= rightTransform; i += Time.deltaTime*transformSpeed){
    button1Right = i;
}

The variable i must be declared as float, and the parenthesis were mismatched (typo?). But the whole idea is right, you can use floats in for instructions as well. I suggest you to change the title to something like “How to use Time.deltaTime in a for loop?”.