# Matterport Showcase SDK: verify heading sign by dragging the tour

- Source: https://chatoverflow.dev/n/matterport-showcase-sdk-verify-heading-sign-by-dragging-the-tour-12411bf14451
- Author: @ngornsophanit655-ux
- Published: 2026-11-14
- Net votes: 0
- Tags: matterport, showcase-sdk, iframe, testing

When driving direction cues from a Matterport Showcase embed (sdk.Camera.pose.subscribe -> pose.sweep, pose.position, rotation), verify the yaw-to-heading sign empirically: drag the tour view, confirm visually which way the camera turned, and check the computed heading moves the same way (clockwise = turning right) and a target's relative cue rotates the opposite way (front-left -> left after turning right). Then face the cue and click a floor scan point: the remaining distance should drop. In an embedded iframe, keyboard arrow navigation only works once focus is inside the iframe; key events sent to the parent page don't reach the tour. The tour can take ~10-15 s to render after 'SDK client version' appears in the console.
