interact = (target, options) => {
    let interactable = scope.interactables.get(target, options);

    if (!interactable) {
      interactable = scope.interactables.new(target, options);
      interactable.events.global = interact.globalEvents;
    }

    return interactable;
  }
```js
interact('#draggable').draggable(true)

var rectables = interact('rect')
rectables
  .gesturable(true)
  .on('gesturemove', function (event) {
      // ...
  })
```

The methods of this variable can be used to set elements as interactables
and also to change various default settings.

Calling it as a function and passing an element or a valid CSS selector
string returns an Interactable object which has various methods to configure
it.

@global

@param {Element | string} target The HTML or SVG Element to interact with
or CSS selector
@return {Interactable}