1 (true) signifies if there has been motion within the past five seconds while 0 (false) signifies no motion.
What ports can I use it on?
All of them!
Code
var motion = Magic.modules.motion.movement;
using Magic;
public class Demo : MonoBehaviour
{
// create a reference to the module
public Magic.Modules.MotionModule motion;
void Start()
{
}
void Update()
{
// access the property of the module
bool motion = motion.movement;
}
}