Thanks....There are two different sprites.......and I am passing UID of one sprite to the function.....Like....
resize(sprite1.UID)...............(Function call)
resize(sprite1.UID)..............(Function Definition)
{
Sprite1------set size to (420,630);
}
Is it possible in construct2? If I pass sprite2 to the same function will it work?....If you did this, would you please share .capx file?