function(event)
local phase = event.phase
local object = event.target
if phase == "began" then
audio.play(clickSound)
object.alpha = object.alpha0
blockGroup.x = blockGroup.x0 + params.offsetX
elseif phase == "moved" then
object.alpha = object.alpha0
if (paramsBlock["scroll"]) then
paramsBlock["scroll"]:takeFocus(event)
end
blockGroup.x = blockGroup.x0
elseif phase == "ended" or phase == "cancelled" then
object.alpha = object.alpha0
blockGroup.x = blockGroup.x0
end
return true
end