I think what you are looking for is this.
Static
The static property of cloth allows for disabling the integration / simulation of the cloth. For example a piece of cloth can be created and simulated for a while to achieve the desired effect, then made static to avoid the simulation overhead of continually simulating the cloth. This might be useful to achieve a realistic look for a table cloth draped over a table. Simulation for the cloth could be enabled again if the player comes into contact with the table. Setting this property is also useful for performance gains. The command to control the state is phy set cloth static. By default the cloth is dynamic.
if upkey() = 1
phy set cloth static 3,1
endif
if downkey() = 1
phy set cloth static 3,0
endif
phy set cloth static objnumb,0 = no physics, 1 = physcis enabled