API -
function yourEvent(user, block) log('block hit by avatar! block position is:' .. block.position); end return function() addEvent('scriptableBlocks', 'yourEvent'); --attaches the event to yourEvent() keepAlive(); --this is needed. end
Last updated 2 years ago