setUserData.lua 345 B

12345678910111213
  1. return {
  2. summary = 'Set the Shape\'s user data.',
  3. description = 'Sets the user data associated with the Shape.',
  4. arguments = {
  5. {
  6. name = 'data',
  7. type = '*',
  8. description = 'The custom value associated with the Shape.'
  9. }
  10. },
  11. returns = {},
  12. notes = 'User data can be useful to identify the Shape in callbacks.'
  13. }