var_mSpeed = 3
tweens.m = 0
var_dim = 3


function dimmess()
	 wm_schedule{action = 'tween', tween = 'm', from = 200, to = 0, duration = var_mSpeed, easing = outInExpo} 
end

var_zoom=1
var_zoom_scale={'1', '1.13', '1.33', '1'}
tweens.zoom=var_zoom_scale[var_zoom]
function zoom()
wm_schedule {action='tween', tween='zoom', from = var_zoom_scale[var_zoom], to = var_zoom_scale[var_zoom+1], duration=0.5, easing=linear}
end
function tap_zoom()
zoom()
if var_zoom == 3 then var_zoom = 1 else
var_zoom = var_zoom + 1
end
end