Lego packs an electronics platform with 3D magnetic tracking, multi-radio communication, and inductive charging into a brick.