let on_interaction interactor = teleport interactor 0 0 0
how can I have it mutate something I send it, though?
You may want to look at https://github.com/gluon-lang/gluon/pull/716/files#diff-fdf9790a6fe2177d1469db998fc15556R488 . It makes the functions work in the
IO monad but that could techincally be omitted since gluon does not assume anything about purity (that might change though)
#[derive(Debug, Userdata, Trace)] struct GluonEntity(specs::Entity);