How can I get a variable from a different module?

I just need a boolean to tell me whether a joystick has been pressed :slight_smile: [import]uid: 79135 topic_id: 15254 reply_id: 315254[/import]

modulename.variable should do it.

Eg; if joystick.pressed == true then etc etc

Peach :slight_smile: [import]uid: 52491 topic_id: 15254 reply_id: 56377[/import]

Thanks peachy [import]uid: 79135 topic_id: 15254 reply_id: 56382[/import]

No worries, any issues let me know :slight_smile: [import]uid: 52491 topic_id: 15254 reply_id: 56476[/import]