Function setHold
setHold(enableHold)
Set whether to enable hold feature
Hold feature allows a player to save a Tetrimino for later use. The setHold() function enables or disables this feature.
Parameters
- enableHold Boolean indicating whether to enable hold or not
Returns
nothing